Transform your text with text-transform

Text-transform is an incredibly useful CSS property, yet also one of the most underused. Here are its possible values (with examples)…

The CSS Overflow Property

Every single element on a page is a rectangular box. The sizing, positioning, and behavior of these boxes can all be controlled via CSS. By behavior, I mean how the box handles it when the content inside and around it changes. For example, if you don’t set the height of a box, the height of […]

CSS Spriting Tips

One of the most effective ways of speeding up a website’s render time is to reduce the number of HTTP requests required to fetch content. An effective method to achieve this is via CSS sprites, which is combining multiple images into one large image and using CSS to only display parts of it…

Centered Fake Floats

When display: inline-block became available it allowed an efficient and (mostly) cross-browser way to center elements, without resolving to floats…

Smart Columns with CSS and jQuery

Other liquid based websites, commonly use 2 techniques for displaying columns – fixed columns and liquid columns. There are drawbacks to both and here’s a suggested solution…

Styling your Lists: 20+ Brilliant Tutorials and Best Practices

When we think about CSS-Styled lists, different ideas come to mind but that rusty old image of bulleted items is not one of them anymore. There are lots of different methods to format nice HTML lists that is used in most web designs not only for navigation menu (vertical or horizontal) but for formatting many […]

Pure CSS Fish Eye Menu

A pure CSS technique to transform your icon menu into an interactive zooming icon navigation menu inspired from Mac OSX Dock with fish eye effect. One of many ways to style html list tags into interactive, usable, and accessible menu using pure CSS…

10 Best CSS Practices to Improve Your Code

It’s really easy to find yourself wondering how your CSS got to be such a mess. Sometimes it’s the result of sloppy coding from the start, sometimes it’s because of multiple hacks and changes over time. Whatever the cause, it doesn’t have to be that way. Writing clean, super-manageable CSS is simple when you start […]

How to Style an A to Z Index with CSS

Learn how to style an A-Z index using a simple list and CSS. The index expands when you resize the text so it won’t break…

Don’t forget about :active in your CSS declarations

We have had the ability to style a links :active pseudo selector since CSS1, yet when was the last time you actually used it? The value of such a subtle detail can have large benefits to a users experience of the site. Not to mention it does give another avenue to enrich the interactivity of […]

« Previous PageNext Page »