Archive for the ‘CSS’ Category

Introduction to CSS Shorthand

Tuesday, May 5th, 2009

CSS Shorthand refers to the ability to set several properties in one single declaration instead of a sequence of related declarations. As we’ll see this a) Reduces the size of your CSS file, and b) Makes it a lot more organised and easy to understand. In this post I’ll look at a few of the common places where shorthand gets used. There are other rarely used or obscure uses like “outline” which I won’t cover today.

(more…)

Tags: ,
Posted in CSS | No Comments »