Live data from Hacker News

Sliding door effects using CSS

codepen.io

11–13 of 13 posts

Re: Sliding door effects using CSS

#11
post #8

Why not use pseudo elements? http://codepen.io/anon/pen/dpceK edit: actually looks like it doesn't work in chrome. Anyone know why?

You beat me to it.

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

Re: Sliding door effects using CSS

#12

And just what is the point of not using JavaScript? Are there browsers that support the latest CSS features but don't support JavaScript? Are there people who turn off JavaScript but expect animations to work?

Things like GPU acceleration come to mind, and also having the visual style where it's actually relevant: in the stylesheet.
Post reply on HN