Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mckamey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
mckamey
12y ago
JsonML is pretty efficient when auto-generated from HTML source. I use it as an intermediate form for client side templates ( http://duelengine.org ) but I don't write it by hand. Its regularity makes it a perfect candidate
2.
▲
by
mckamey
16y ago
That's a creative solution. Too bad it only works for IE.
3.
▲
by
mckamey
16y ago
Use CssUserAgent and be done with it.
4.
▲
by
mckamey
16y ago
Fair enough but CssUserAgent is a far lighter solution than Modernizr. I find that 99.9% of my CSS is the same per browser so I just need a slight tweak here or there which CssUserAgent does without a lot of overhead. Modernizr is about 5x
5.
▲
by
mckamey
16y ago
Interesting. As in a toggle to add/strip the classes back off again?
6.
▲
Avoid browser-specific CSS hacks with CssUserAgent (cssua.js)
(cssuseragent.org)
17 points
by
mckamey
16y ago
|
9 comments