By: Lindsey - CSSgirl
Why not include the reset within your “normal” stylesheet? Just wondering why, not being snarky :D I usually keep mine in the main stylesheet.
View ArticleBy: Pat
Are structure and styling stylesheets used site-wide? How come you don’t combine them? You could keep them seperate in development but combine them for production.
View ArticleBy: Qbit
OMG I realy wasn’t aware of that issue. Shame on you IE! Youre a baad browser. But it is good to know, that bless is out there (bookmarked). I really hope that I never have to use it.
View ArticleBy: Danny
Fantastic as always. I was quite pleased with myself because I actually knew a limited amount about including multiple stylesheets before this article. Makes a change! Loving the higher frequency of...
View ArticleBy: TeMc
LOL! On topic though, I wish ResourceLoader (MediaWiki component) was standalone. That would make WordPress, Drupal, and your-own-php-powered-app have a great front-end.
View ArticleBy: pixelutely
Couldn’t agree more with this article – have been employing modular CSS on ecommerce platforms since 2006. The core stylesheet gets served to every page, and then a series of @imports get combined and...
View ArticleBy: Yogi
Completely agree with you. Full merging CSS is only useful when there are always same css files or all css files are different. In case of partially same CSS files, your approach is the only optimized...
View ArticleBy: veged
Cool post. We at Yandex thinking about this too. We have some prototype of tool that can build CSS (and other static files, i.e. JS) for pages but based on some real statistic about users sessions on...
View ArticleBy: Varvara Stepanova
Hi Chris! I am also a frontend developer from Yandex. This is a portal of 100+ services and of course we think a lot about managing our CSS files. Usually we have 1 CSS file per page. But sometimes...
View ArticleBy: Scot Self
In fairness to Drupal, the css files can very easily be optimized into one file and cached from within the UI. If your Drupal install is live and still has css files not optimized, you’re doing it...
View ArticleBy: Andy
Usually I go up to 3 but have never gone beyond that. My structure is usually; Core Layout (structure) Styling (typography, gradients, borders etc etc – the main stuff) Page Specific stuff (for...
View ArticleBy: Johan
W3TotalCache looks very interesting, looks like every WP site needs that :). I don’t use WP though, and I have solved this ‘problem’ in my template engine. Every template file is able to inject...
View ArticleBy: Funkyscript
I would argue the use of a fourth layer for audiences (subscriptions, languages, rights, etc.). Examples: free_trial.css, year_subscription.css, german.css, canadain_fr.css, admin.css, read_only.css
View ArticleBy: Qwertj
In reply to <a href="https://css-tricks.com/one-two-three/#comment-176826">Greg Hauenstein</a>. you should use the media attribute with responsive bootstrap, so you use 2 stylesheets at all
View ArticleBy: frank
The web is getting faster, browsers are rendering faster and faster. i recently finished a project based on twitter bootstrap. During development i simply included all less and JS files bootstrap has...
View Article
More Pages to Explore .....