CSStricks RSS-feed
"Which CSS preprocessor language should I choose?" is a hot topic lately. I've been asked in person several times and an online debate has been popping up every few days it seems. It's nice that the conversation has largely turned from whether or not preprocessing is a good idea to which one language is best. Let's do this thing.
Really short answer: SASS
Slightly longer answer: SASS is better on a whole bunch of different fronts, but if you are …
SASS vs. LESS is a post from CSS-Tricks
Posted on 17 May 2012 | 3:23 am
Source: CSS-Tricks
Responsive Images and Web Standards at the Turning Point
Mat Marquis keeping us up to date on the responsive images hot drama. Good reminder at the end about not picking sides.
Direct Link to Article — Permalink…
Responsive Images and Web Standards at the Turning Point is a post from CSS-Tricks
Posted on 16 May 2012 | 4:04 am
Source: CSS-Tricks
With ol' Mean Gene Crawford! We talk about crazy clients, responsive images, health, and all kinds of other shoptalk. Thanks to Mijingo for sponsoring this episode.
Direct Link to Article — Permalink…
ShopTalk Episode 18 is a post from CSS-Tricks
Posted on 16 May 2012 | 12:11 am
Source: CSS-Tricks
Which responsive images solution should you use?
There are a bunch of techniques going around for dealing with responsive images lately. That is, solutions to help us serve the right image for the occasion (e.g. size of screen and bandwidth available). They all do things a bit differently. To keep track, Christopher Schmitt and I have created this spreadsheet of techniques.
The spreadsheet has the data, but let's digest it through thinking about it through the lens of practical questions.
To choose which technique is right …
Which responsive images solution should you use? is a post from CSS-Tricks
Posted on 11 May 2012 | 2:39 pm
Source: CSS-Tricks
I recently heard Chris Eppstein give a talk (slides) about creating better stylesheets and using SASS to do it. There were a couple of surprising bits in there, one of which was about "opt-in typography." The idea was that instead of setting global styles for typographic elements like p, ul, ol, h1, h2, etc that you would instead apply those styles as a class, perhaps .text.
The idea is that there is …
Opt-in Typography is a post from CSS-Tricks
Posted on 7 May 2012 | 3:19 pm
Source: CSS-Tricks
Another RAPIDFIRE show where Dave and I answer as many listener questions as we possibly can.
Direct Link to Article — Permalink…
ShopTalk Episode 17 is a post from CSS-Tricks
Posted on 6 May 2012 | 3:01 pm
Source: CSS-Tricks
Autofill City & State from Zip Code with Ziptastic
Most address fields on web forms ask for city, state, and zip code (or city and post code, outside of the US). But as us nerds often lament, city and state are redundant with zip code. Or at least they can be inferred from a correctly entered zip code. That's the kind of thing computers are good at. What we need is a proper API to cough up that information for us on demand.
Enter Ziptastic, a free (…
Autofill City & State from Zip Code with Ziptastic is a post from CSS-Tricks
Posted on 3 May 2012 | 5:42 pm
Source: CSS-Tricks
CSS3 has some new values for sizing things relative to the current viewport size: vw, vh, and vmin. It is relevant to bring up now, because it's shipping in Chrome 20 (canary at the time of this writing). And not behind a flag, it just works. Production usage isn't quite there, but it will be soon enough.
There are many reasons. Here are two:
- There is a such thing as a comfortable …
Viewport Sized Typography is a post from CSS-Tricks
Posted on 1 May 2012 | 12:15 am
Source: CSS-Tricks
Dave and I were joined by Ian Stewart, a Theme Wrangler at Automattic for WordPress.com (he's probably thinking about WordPress themes right this very minute). We talked about WordPress multisite, training clients in WordPress, database syncing, team productivity, and more.
Direct Link to Article — Permalink…
ShopTalk Episode 16 is a post from CSS-Tricks
Posted on 30 April 2012 | 12:06 am
Source: CSS-Tricks
Conditional Content via CSS Media Queries
Jeremy Keith has a great article on his journey to allowing JavaScript to load in content based on the currently active media query. This allows you to keep media queries only in the CSS (DRY!).
The article was sans-demo, so I made one.
Direct Link to Article — Permalink…
Conditional Content via CSS Media Queries is a post from CSS-Tricks
Posted on 29 April 2012 | 7:48 pm
Source: CSS-Tricks






