6 ms·
its cool but the title is misleading --> 335 lines of Javascript code used
by naithemilkman 15y ago
its cool but the title is misleading --> 335 lines of Javascript code used
- ugh 15y agoIt’s not. It’s pure CSS as defined explicitly on the page, i.e. no images used.
- suhastech 15y agothat's obviously needed for the "slide to unlock" gesture and other interactive components...
- okal 15y agoA little like this - Donatello, a "pure" CSS drawing library, http://news.ycombinator.com/item?id=3090290 http://news.ycombinator.com/item?id=3090290. Not to belittle the effort, but 335 (or even 1) lines of JS is absolutely NOT pure CSS3. It really bothers me when people do that. It wouldn't have been any less impressive with a more honest title. That being said, this is a really cool demo.
- ugh 15y agoIt is pure CSS as explicitly defined on the page, i.e. no images used. Just because you have a different definition doesn’t make it right.
- icebraining 15y agoIt's not his definition. Pure means "Not mixed or adulterated with any other substance or material". Here there is JS mixed, hence it isn't pure.
- ugh 15y agoThe point. You are missing it. He or she uses CSS for a job for which usually images are used. Hence his or her use of CSS is pure in that sense and it’s also written down that way. It’s not misleading in any way, shape or form. HN. A community of whiny know it alls.
- icebraining 15y agoI understand what you're saying. I don't agree with it. Not that I have any problem with it being pure or not, just with your reply to okal.
- okal 15y agoYou can make your point without resorting to insults. I was pointing that it can set the wrong expectation, as I understood it, having seen things such as the game disussed on http://news.ycombinator.com/item?id=2582457 http://news.ycombinator.com/item?id=2582457, which is in fact CSS only. Like I said, I think it's is an awesome demo. Out.
- deleted 15y ago[deleted]