Efficient CSS with Shorthand Properties

One of the reasons for using CSS to layout websites is to reduce the amount of HTML sent to site visitors. To avoid just moving the bloat from HTML to CSS, you should try to keep the size of your CSS files down as well, and I thought I’d explain my favourite CSS efficiency trick: shorthand properties. Most people know about and use some shorthand, but many don’t make full use of these space saving properties…

VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)

Leave a Reply

Your email address will not be published. Required fields are marked *