[CSS] Font

Front-End/HTML5 + CSS 2016. 8. 5. 15:16
donaricano-btn

Font


1. font-family

- font family of a text is set with the font-family

- The font-family property should hold several font names as a "fallback" system

If the browser does not support the first font, it tries the next font, and so on



2. font-style

- font-style property is mostly used to specify italic text

- This has three values

a. nomal

b. italic

c. oblique

 

3. Font-size with Em

- To allow users to resize the text, many developers use em instead of pixels

- 1em is equal to the current font size. The default text size in browser is 16px,

So the default size of 1em is 16px

 

4. Font-weight

- The property specifies the weight of a font

 





'Front-End > HTML5 + CSS' 카테고리의 다른 글

[HTML5] 문자 위의 주석 루비태그<ruby>  (0) 2016.11.27
[HTML5] <meta> 메타태그란?  (3) 2016.11.27
[HTML5] 8. Form and input  (0) 2016.08.04
[HTML5] 7. Multimedia_video  (0) 2016.08.04
[HTML5] 6. ImageMap  (0) 2016.08.04
블로그 이미지

리딩리드

,