News for hackers. Stuff that matters.
Re:Sliding door effects using CSS by troels on Sunday October 14, 2012 @07:45AM (#4651246)
Not to confuse with "Sliding Doors of CSS" [1] - Had me confused for a moment there.

[1] http://www.alistapart.com/articles/slidingdoors/

Re:Sliding door effects using CSS by michaelmior on Sunday October 14, 2012 @08:38AM (#4651331)
I was thinking the same thing and I was shocked at first to see the link wasn't pointing to ALA.
Re:Sliding door effects using CSS by go35 on Sunday October 14, 2012 @12:34PM (#4651773)
Why not use pseudo elements?

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

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

Re:Sliding door effects using CSS by stan_rogers on Sunday October 14, 2012 @02:41PM (#4652154)
Works for me in Chrome (22.0.1229.94 on Win7). There's nothing in the CSS to prevent it from working in Webkit.
Re:Sliding door effects using CSS by lloeki on Sunday October 14, 2012 @12:58PM (#4651850)
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 by thefreshteapot on Sunday October 14, 2012 @08:29AM (#4651323)
Very nice effect. Very very smooth on Firefox Aurora with plenty of ram.

Is it possible to make this CSS effect work on the iphone? Is it a matter of tweaking the CSS or is it due to the limitation of the iOS Browser? Im curious of how smooth it looks on the iPhone. Would happily have checked a different mobile... but I dont have one of those.

Re:Sliding door effects using CSS by html5web on Sunday October 14, 2012 @08:40AM (#4651336)
As far as I know, it's possible to make it work on iOS Safari browsers, as Safari mobile browser supports CSS animations, transforms and transition effects.
Re:Sliding door effects using CSS by speg on Sunday October 14, 2012 @09:20AM (#4651401)
It's works for me on iOS 6.
Re:Sliding door effects using CSS by spobo on Sunday October 14, 2012 @10:58AM (#4651534)
The door is just a border being resized with a transition. Borders can't be styled that well. So this effect is neat but not very usable imo.
Re:Sliding door effects using CSS by SimHacker on Sunday October 14, 2012 @12:55PM (#4651837)
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?
Re:Sliding door effects using CSS by lloeki on Sunday October 14, 2012 @01:01PM (#4651858)
Things like GPU acceleration come to mind, and also having the visual style where it's actually relevant: in the stylesheet.
Re:Sliding door effects using CSS by Evbn on Sunday October 14, 2012 @12:56PM (#4651841)
The edges don't align on Android, the image peeks through.