14 7月 2011

Display codes with more formal syntax.


After studying CSS, it's time to display codes with more professional way.


Style.1
#Header1 h1 
{
 font: $googlefont, Verdana;
 font-size: 36px;
 font-style: normal;
 font-weight: 400;
 text-shadow: none;
 text-decoration: none;
 text-transform: none;
 letter-spacing: 0em;
 word-spacing: 0em;
 line-height: 1.2;
}
Style.2
#Header1 h1 
{
 font: $googlefont, Verdana;
 font-size: 36px;
 font-style: normal;
 font-weight: 400;
 text-shadow: none;
 text-decoration: none;
 text-transform: none;
 letter-spacing: 0em;
 word-spacing: 0em;
 line-height: 1.2;
}

Reference for Style #1:
Reference for Style #2:

Beautiful hightlight syntax, did you like that? :D

沒有留言:

張貼留言