Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fredley
· 14y ago · 0 comments
It may keep your HTML clean, but it makes your CSS messy!
Comments
[–]
JCB_K
14y ago
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.
[–]
MatthewPhillips
14y ago
I'd much rather have clean, reusable HTML. CSS you can use preprocessors to abstract away the messiness.
[–]
lolsal
14y ago
Aren't you using templates and macros for HTML already?
[–]
Groxx
14y ago
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.
[–]
MatthewPhillips
14y ago
No, I typically write entirely client side applications.
[–]
tobyjsullivan
14y ago
Any reading recommendations for someone who isn't?