Hacker News new | ask | show | jobs
by go35 5001 days ago
Why not use pseudo elements?

http://codepen.io/anon/pen/dpceK

edit: actually looks like it doesn't work in chrome. Anyone know why?

2 comments

Works for me in Chrome (22.0.1229.94 on Win7). There's nothing in the CSS to prevent it from working in Webkit.
You beat me to it.

I'd say it's WebKit — not just Chrome — since it doesn't work with Safari 6 either.