19 karma · joined Aug 24, 2011 (15y ago) · 15 submissions
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
Here is a quick cut-and-paste from a LESS stylesheet:
https://gist.github.com/1212027
There are a lot of random items and I find it easier not to cascade styles as much as some recommend. I try to consolidate styles into generic classes or mixins as I find opportunities to re-use them. I try not to use the child selector unnecessarily (the article uses it a totally unnecessary amount) because I often need to add unsemantic wrapper elements to achieve the right effect.
comment 15y ago · link · parent
That way, people who use modern browsers get the original user experience, but those who use legacy browsers have to see a quick refresh. Your site is so clean already that I doubt most IE users would notice the load time.
As an alternative, support hashes and the history API so most people see the "clean" URLs.
comment 15y ago · link · parent