Compiling IN CSS

Compiling [font]

Using the font short hand property it is possible to cover all the different font properties in one single property.

For example, imagine these four lines of code used to describe font-properties for <p>:

 
 p {
  font-style: italic;
  font-weight: bold;
  font-size: 30px;
  font-family: arial, sans-serif;
 }
 
 
Using the short hand property, the code can be simplified:

 
 p {
  font: italic bold 30px arial, sans-serif;
 }
 

Comments

Popular posts from this blog

TOP PHP freamwork

What is required for it startup company ?

why use Laravel in Your Next Project ?