Re:Single Element MacBook Pro with CSS
by fredley on Wednesday August 15, 2012 @04:40AM
(#4385140)
It may keep your HTML clean, but it makes your CSS messy!
[ Parent
| on HN ]
That's why I said there's better ways of getting a MacBook into your webpage. But my point still stands, :before and :after are very powerful.
Re:Single Element MacBook Pro with CSS
by MatthewPhillips on Wednesday August 15, 2012 @08:38AM
(#4385621)
I'd much rather have clean, reusable HTML. CSS you can use preprocessors to abstract away the messiness.
Aren't you using templates and macros for HTML already?
Changing how the HTML macros expand likely ends up requiring CSS changes (in practice, though not necessarily in a theoretically-ideal code base). One change in two places, vs one change in one place.
Re:Single Element MacBook Pro with CSS
by MatthewPhillips on Wednesday August 15, 2012 @03:08PM
(#4387609)
No, I typically write entirely client side applications.
Re:Single Element MacBook Pro with CSS
by tobyjsullivan on Wednesday August 15, 2012 @06:39PM
(#4388675)
Any reading recommendations for someone who isn't?