Introduction to CSS shorthand properties


Introduction to CSS shorthand properties

Shorthand properties?
One of the many great possibilities in CSS is the use of shorthand properties. It lets you specify several properties by using only one. If you have started learning about CSS and started implementing it on your web pages, you'll immediately see the benefit of using shorthand CSS properties. It makes it even easier for you to apply style to your markup, and it will make your CSS code shorter.
For you to have any value of this article you need to know the normal CSS properties and their values, they will be used here, but not extensively explained.
Browser support as indicated for every shorthand property is vague and only gives a general idea of the browser compatibility. For more detailed information about the nature in which a property is buggy or partially supported, check the link to Webreview and Stylemaster at the end of this article.
Now let us have a quick look at a sample CSS rule to refresh our memory on the different parts of CSS and what they are called:

No comments:

Post a Comment

Thanks