Hacker News new | past | comments | ask | show | jobs | submit login

It may keep your HTML clean, but it makes your CSS messy!



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.


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.


No, I typically write entirely client side applications.


Any reading recommendations for someone who isn't?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: