Skip to main content

Home/ Web Development & Mobile App/ Group items tagged CSS

Rss Feed Group items tagged

Vernon Fowler

Working With LESS and the Chrome DevTools - Tuts+ Code Tutorial - 0 views

  • While holding Command (Control on Windows), click any property, value or selector to jump to the line of code in the corresponding LESS source file within the Sources panel.
  • In a world without Source Maps, DevTools would display styles originating from the compiled CSS. Line numbering would not be useful due to a mismatch between compiled CSS and the source CSS. With Source Maps, when inspecting a DOM node on the page, DevTools will automatically show the styles originating from the LESS source file.
  • the Sources panel contains a live editor
  • ...2 more annotations...
  • Not only does this work for remotely hosted files, but also for local ones with the added benefit of persisting your changes to a file.
  • You can edit a file in the Sources panel and those changes will persist to disk when you Command/Control-S.
  •  
    This is a complete tutorial to using LESS with Chrome's DevTools. If you've used Sass with Chrome's DevTools, you'll most likely already be familiar with the concepts introduced here.
  •  
    This is a complete tutorial to using LESS with Chrome's DevTools. If you've used Sass with Chrome's DevTools, you'll most likely already be familiar with the concepts introduced here.
  •  
    "This is a complete tutorial to using LESS with Chrome's DevTools. If you've used Sass with Chrome's DevTools, you'll most likely already be familiar with the concepts introduced here. "
Biztech Consultancy

PSD Conversion Service | Convert PSD To HTML / XHTML and CSS - 0 views

  •  
    Being an established provider of PSD to XHTML conversion, we offer W3C validated, SEO semantic XTHML, compatible to various browser. Grab quality PSD to HTML / XHTML and CSS Conversion services at affordable costs by getting in touch with IT business solutions provider Biztech Consultancy. http://bit.ly/1tyQxMw
Vernon Fowler

grunt-grunticon - 0 views

  •  
    "A mystical CSS icon solution"
Vernon Fowler

What You May Not Know About the Z-Index Property - Tuts+ Web Design Article - 0 views

  •  
    "The z-index property in CSS seems simple enough, but there's a lot to discover beneath the surface if you really want to understand how it works. In this tutorial we'll clarify the inner workings of z-index, by looking at stacking contexts and a few practical examples."
Vernon Fowler

phildionne/golden-bootstrap · GitHub - 0 views

  •  
    Golden Bootstrap is a tiny add-on for Bootstrap giving you the divine power of using golden ratio sized columns. Available both for Less and Sass CSS preprocessors.
Vernon Fowler

Stylify Me - 0 views

  •  
    "Stylify Me was created to help designers quickly create a style guide of an existing site, including colours, fonts, sizes and spacing. It's a tool that allows the designer to research the CSS styles efficiently without the need to inspect each element, in order to be aware of current design trends and inform their design decisions."
Vernon Fowler

Font sizing with rem - Snook.ca - 0 views

  • The problem with em-based font sizing is that the font size compounds. A list within a list isn't 14px, it's 20px. Go another level deeper and it's 27px!
  • The rem unit is relative to the root—or the html—element. That means that we can define a single font size on the html element and define all rem units to be a percentage of that. html { font-size: 62.5%; } body { font-size: 1.4rem; } /* =14px */ h1 { font-size: 2.4rem; } /* =24px */
  • I'm defining a base font-size of 62.5% to have the convenience of sizing rems in a way that is similar to using px.
  • ...3 more annotations...
  • We can specify the fall-back using px, if you don't mind users of older versions of Internet Explorer still being unable to resize the text (well, there's still page zoom in IE7 and IE8). To do so, we specify the font-size using px units first and then define it again using rem units. html { font-size: 62.5%; } body { font-size: 14px; font-size: 1.4rem; } /* =14px */ h1 { font-size: 24px; font-size: 2.4rem; } /* =24px */
  • consistent and predictable sizing in all browsers, and resizable text in the current versions of all major browsers
  • The compounding nature of em-based font-sizing can be frustrating so what else can we do?
Vernon Fowler

Web Typography: Using The Golden Ratio and REM's - Greg Rickaby - 0 views

  • First you need to set a default “root” font-size variable: html { font-size: 62.5% } Why 62.5% instead of 100%? Simplicity. Our default font is now 10px, which makes math easier. Now, 1.0rem = 10px. This becomes our $rembase.
  • Now your fonts will scale perfectly during a browser re-size (if using responsive design), or if a user were to zoom in or out.
  • What’s so awesome about the unitless line height? You only have to specify it once in the <body> tag. Now, ALL other line height(s) are relative to the parent font-size. That’s too easy! (Of course, you can still specify your own to maintain complete control.)
    • Vernon Fowler
       
      Shouldn't line-height also be refined whenever the container width changes?
  • ...5 more annotations...
  • Margins, or “vertical spacing” is calculated using either 24px or 48px to maintain vertical rhythm.
    • Vernon Fowler
       
      Where does the mystical value of 24px or 48px for vertical spacing margins come from?
  • By declaring REM’s after PX’s in the CSS this example  will degrade gracefully to the PX:
  • Line-height: 24px; for the win, you you stay right in the baseline ( until you start using a border bottom it throws it off by a pixel :p )
  • setting the root font size to 62.5% is a brilliant little trick
  • One note on the comment regarding vertical rhythm. I believe the 24px and 48px is dependent on your line-height. In your examples, you are using a line-height of 26px so I think the values should be 26px and 52px to maintain that rhythm.
Vernon Fowler

svg-edit - A complete vector graphics editor in the browser (in JavaScript) - Google Pr... - 0 views

  •  
    "SVG-edit is an online vector graphics editor that uses only JavaScript, HTML5, CSS and SVG (i.e. no server-side functionality)."
Vernon Fowler

The Genericons Icon Font Story | ThemeShaper - 0 views

  • The OpenType font file (.otf) is even included so you can can drop it in your system fonts folder and use the font in Photoshop if you like.
  • The flexibility you get from being able to use CSS to change the way they look, like re-coloring all the icons with one simple rule, makes them superior to SVG for this use case. They also work in all modern browsers
Richard Boss

Develop Highly Responsive Web Interfaces With Bootstrap Front-End Framework - 0 views

  •  
    Bootstrap is a free compilation of website and web apps creating tools. It consists of intuitively designed templates based on HTML and CSS for typography, forms, buttons, navigation etc. It also has optional extensions of JavaScript. To know more about Bootstrap, read this article!
Biztech Consultancy

Get pixel perfect website designs through impeccable PSD to HTML conversions - 0 views

  •  
    Grab quality PSD to HTML / XHTML and CSS Conversion services at affordable costs by getting in touch with IT business solutions provider Biztech Consultancy.
1 - 20 of 32 Next ›
Showing 20 items per page