Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

font shorthand

/*Syntax*/
font: font-style/font-variant/font-weight/font-size/line-height/font-family;
/*Example*/
font: italic small-caps bold 18px Arial, Helvetica, sans-serif;
/*IMPORTANT NOT
1- You need to supply at least font-size and font-family. 
2- You need to respect the values order shown in the syntax 
*/
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #font #shorthand
ADD COMMENT
Topic
Name
9+5 =