4 ms·
Yay! Just what the readers of Hacker News love to read… basic CSS tutorials! Can we have a "how to get amazing mouse cursors with JavaScript" one, too?
by obeattie 17y ago
Yay! Just what the readers of Hacker News love to read… basic CSS tutorials! Can we have a "how to get amazing mouse cursors with JavaScript" one, too?
- CoryMathews 17y agohaha here ya go http://www.javascriptkit.com/script/script2/simpleimagetrail.shtml http://www.javascriptkit.com/script/script2/simpleimagetrail...
- daleharvey 17y agojudging by the points it does look like what hacker news wants to read, but we can always do with less snark. This looks like the best example I have so far to pass along to people asking me about css, which happens quite often. That aside CSS is messy and complicated, lots of programmers dont understand the basics, and even experienced developers can easily miss a few very useful tips.
- kowen 17y agoI think CSS itself isn't so complicated, but the whole different support in different browsers thing certainly does make a mess of it! One of the most helpful things I ever did with respect to CSS was read the apress book on html/css patterns (just ignore the parts that use javascript). http://books.google.com/books?id=xq9IOomk1tUC http://books.google.com/books?id=xq9IOomk1tUC (I never realized that standard CSS actually operates with 6 box models!)
- nbrochu 17y agoWhat is so wrong exactly with basic material? Sure you might know CSS inside out, but I'd be willing to bet some people here could learn something useful out of it. The rest of us that already are familiar with it get a quick refresher in under 5 minutes. Positioning and the box model are at the core of understanding CSS layouts. Sure it's not the next cool thing and it certainly isn't advanced, but I'd much rather browse a Web where people understand layouts properly, than one filled with a lot of the trendy, over-complicated crap that fails at the basics. We have to be careful with that basic = not challenging = not geek-worthy attitude. A beginner reading HN comments will most likely emulate it and miss out on the important stuff.
- Groxx 17y agoIf the reader doesn't know basic CSS - a definite possibility, remember - then this is concise and programmer-friendly. If the reader does know CSS, then they're probably asked "can you make this for me?" by everyone and their extended family, and this is concise and has immediate, clear examples to make it newbie-friendly. I wouldn't dare throw a big CSS book at a non-programmer new to CSS.