CSS Tutorials
Chris Coyier: Perspective of a Preprocessor, About a Year In
I've been using CSS preprocessors for about a year now. I gave all of them a try. LESS first, then Stylus, then Sass. All on real projects, not just poking around and tinkering with syntax. They are all pretty good. The truth is, developer to developer...
Modal-Style Text Selection with Fokus
Every once in a while I find a tiny JavaScript library that does something very specific, very well. My latest find, Fokus, is a utility that listens for text selection within the page, and when such an event occurs, shows a beautiful modal dialog in...
Custom Scrollbars in WebKit
Before each of the browser vendors we like was providing unique CSS controls, Internet Explorer was setting the tone. One such example is IE's early implementation of CSS filters. Internet Explorer was also the first browser that allowed developers to, for better or worse, customize...
Full Width Textareas
Working with textarea widths can be painful if you want the textarea to span 100% width. Why painful? Because if the textarea's containing element has padding, your
"width:100%"
textarea will likely stretch outside of the parent container -- a frustrating prospect to say the least. Luckily...12 Incredible CodePen.IO Demos
Whenever I need to put my ego in check, I go to Chris Coyier's new CodePen.IO site. CodePen.IO is an incredible showcase of HTML, CSS, and JavaScript, displaying the talents of developers creating effects that 99% of the world's front-end developers couldn't create.
CSS Vendor Prefixes
What are the Vendor Prefixes? Vendor prefixes are small strings prepended to CSS properties that will ensure that the property will only be valid and rendered within the given browser engine. Chrome and Safari both use the WebKit rendering engine, Firefox uses Gecko, Internet Explorer uses Trident...
CSS Tooltips
We all know that you can make shapes with CSS and a single HTML element, as I've covered in my CSS Triangles and CSS Circles posts. Triangles and circles are fairly simply though, so as CSS advances, we need to stretch the boundaries...
text-align: start & RTL
As you've probably heard me mention a billion times on Twitter, I've been proudly work on the Mozilla Developer Network revamp. This is my first real experience with working on websites with a fair amount of RTL readers. One thing I quickly recognized when browsing...
CSS 3D Folding Animation
Google Plus provides loads of inspiration for front-end developers, especially when it comes to the CSS and JavaScript wonders they create. Last year I duplicated their incredible PhotoStack effect with both MooTools and pure CSS; this time I'm going to duplicate...