CSS Font

ex1{
font: 15px arial, sans-serif;
}
ex2{
font: italic bold 12px/30px Georgia, serif;
}

*properties that can be set, (IN ORDER, Required)font-style font-variant font-weight font-size/line-height font-family
*필수적인(font-size와 font-family)를 제외한 항목들은 입력되지 않으면 자동으로 default값을 가지게 된다.

Serif : 바탕체 계열
Sans-Serif : 고딕체 계열
Monospace : 가로 폭이 동일한 글꼴
Cursive : 필기체 계열

web safe font : link 참고

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s