CSS Tutorials
![Presentable Accessibility Elements with CSS]()
Presentable Accessibility Elements with CSS
Mozilla is full of brilliant developers who the mass developer community doesn't know well enough. Toward the top of that list is Craig Cook, a front-end web developer who works on Mozilla.org and other popular Mozilla sites. One technique he recently brought to my attention is...
![CSS Preprocessors and Parent Selectors]()
CSS Preprocessors and Parent Selectors
Working on web sites and web apps that require RTL support is hard because ensuring correct display in RTL is made more difficult by the fact that we either don't have the CSS properties and values to do so or that the existing support isn't widely...
![Enforce Widths on Empty Block Elements]()
Enforce Widths on Empty Block Elements
One of the side effects within CSS that I find somewhat strange is that even if you give an element an explicit width, the element width is not respected if the element is empty or the elements within it are absolutely or fixed position. Of course...
![Show Overflow Scrollbars on OS X]()
Show Overflow Scrollbars on OS X
The update to OS X Lion implemented the scrolling idea of iOS mobiles, which is hiding a window (and other elements with scrolling) until the target area is tapped or swiped. While that may seem like a minor change, in as far as basic usability, it's...
![Remove Search Box Buttons in WebKit]()
Remove Search Box Buttons in WebKit
I love all of the (relatively) new HTML5
INPUTelement types. If you aren't using them...what the hell is wrong with you?! please do. New types likesearchandemailmake these form fields infinitely more usable on mobile. What I don't necessarily like is how...![Write Your CSS with JavaScript]()
Write Your CSS with JavaScript
Sometimes programming is just using the right tool. This may be a framework, library or as it happens in my case CSS preprocessor. You probably don't realize it, but LESS or SASS have a lot of constraints. I managed to change that by writing my own...
![Git Hooks and CSS Preprocessors]()
Git Hooks and CSS Preprocessors
For one of my recent projects, I've decided to use Stylus. I'm accustomed to using Sass but that would require adding Ruby to our stack -- Stylus is Node.js-based, and since I'm already using Node.js for a few other tasks, I thought I'd give Stylus a try.
![Using pointer-events with Media Queries]()
Using pointer-events with Media Queries
We all know that there are a number of ways we can modify layout based on CSS media queries -- hell, we can even animate properties between media queries. One bit of outside the box thinking with media queries is deals with
pointer-events.![YUI Compressor Media Query Issues]()
YUI Compressor Media Query Issues
I've been coding out the redesign for a responsive website and it's been a lot of fun...and a lot of media queries. A few of the media queries have multiple conditions so I have `and` sprinkled into them quite a bit. Everything was going...
![Starting to Write CSS]()
Starting to Write CSS
Don't you feel that CSS is not the same anymore? Last few years became a hot topic and many smart people talked about it. CSS is not that little thing which front-end developer should do to make the page looks pretty. It's far more then that.







