Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fredley
on Aug 15, 2012
|
parent
|
context
|
favorite
| on:
Single Element MacBook Pro with CSS
It may keep your HTML clean, but it makes your CSS messy!
JCB_K
on Aug 15, 2012
|
next
[–]
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
on Aug 15, 2012
|
prev
[–]
I'd much rather have clean, reusable HTML. CSS you can use preprocessors to abstract away the messiness.
lolsal
on Aug 15, 2012
|
parent
[–]
Aren't you using templates and macros for HTML already?
Groxx
on Aug 15, 2012
|
root
|
parent
|
next
[–]
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
on Aug 15, 2012
|
root
|
parent
|
prev
|
next
[–]
No, I typically write entirely client side applications.
tobyjsullivan
on Aug 15, 2012
|
root
|
parent
|
prev
[–]
Any reading recommendations for someone who isn't?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: