CSS ¸Å´º¾ó ÆùÆ® Ư¼º |
¼Ò°³ | ÀÏ¹Ý | ÅؽºÆ® | ÆùÆ® | ¹Ú½º | »ö»ó | ¸ñ·Ï | »öÀÎ | ¿¹Á¦ |
ÆùÆ® ±Û²Ã font-family ⇒ ⇒ ⇒ CSS1 ±Ô°Ý ÆùÆ® ±Û²Ã ¼³¸í |
»ç¿ë ÇÒ ±Û²Ã(font Á¾·ù)¸¦ ÁöÁ¤ ÇÑ´Ù. ÄÞ¸¶(,)·Î ¿¹ºñ ±Û²ÃÀ» ÁöÁ¤ ÇÒ ¼ö ÀÖ°í, ¾Õ¿¡¼ºÎÅÍ ¿ì¼± Àû¿ëµÈ´Ù.
»ç¿ëÀÚ°¡ È®½ÇÈ÷ °®°í ÀÖÀ» ±Û²ÃÀ» »ç¿ëÇÏ´Â °ÍÀÌ ÁÁ´Ù. ±¼¸², ±¼¸²Ã¼, ±Ã¼, ±Ã¼Ã¼, µ¸¿ò, µ¸¿òü, ¹ÙÅÁ, ¹ÙÅÁü, Arial, Arial Black, Arial Narrow, Bookman Old Style, Comic Sans MS, Courier New, Garamon, Geogia, Impact, MingLiU, Minon Web, Morden, Monotype.com, MS Gothic, MS Hei, MS Song, Time New Roman, Trebuchet MS, Verdana .font1 {font-family: Helvetica,sans-serif;}
| ||
ÆùÆ® ½ºÅ¸ÀÏ font-style italics, oblique, normal CSS1 ±Ô°Ý ÆùÆ® ½ºÅ¸ÀÏ ¼³¸í |
font-styleÀÌ italics, oblique ³ª normal ÀÓÀ» ÁöÁ¤ÇÑ´Ù. EM {font-style: oblique;} .font2 {font-style: oblique;} <STYLE type="text/css"> .font2 {font-style: normal;} .font3 {font-style: oblique;} </STYLE> <table><tr> <td class=font2>Font normal ÁöÁ¤</td> <td class=font3>Font italic ÁöÁ¤</td> </tr></table>
| ||
ÆùÆ® º¯ÀÌ font-variant small-caps, normal CSS1 ±Ô°Ý ÆùÆ® º¯ÀÌ ¼³¸í |
font¸¦ ÀÛÀº ´ë¹®ÀÚ(small-caps) À̳ª normal·Î ÁöÁ¤ ÇÑ´Ù. H3 {font-variant: small-caps;} .font5 {font-variant: small-caps;} <STYLE type="text/css"> .font4 {font-variant: normal;} .font5 {font-variant: small-caps;} </STYLE> <table><tr> <td class=font4>Font normal ÁöÁ¤</td> <td class=font5>Font small-caps ÁöÁ¤</td> </tr></table>
| ||
ÆùÆ® ±½±â font-weight normal, bold, bolder, lighter, ±æÀÌ CSS1 ±Ô°Ý ÆùÆ® ±½±â ¼³¸í |
font¸¦ µÎ²®°Ô ȤÀº ¾ã°Ô ¼öÄ¡·Î ÁöÁ¤ ÇÑ´Ù. B {font-weight: 700;} .font6 {font-weight: 700;} <STYLE type="text/css"> .font6 {font-weight: 700;} </STYLE> <table><tr> <td>Font º¸Åë(¹Ì ÁöÁ¤)</td> <td class=font6>font-weight 700 ÁöÁ¤</td> </tr></table>
| ||
ÆùÆ® Å©±â font-size ⇒ ⇒ ⇒ CSS1 ±Ô°Ý ÆùÆ® Å©±â ¼³¸í |
font Å©±â¸¦ Àý´ë Å©±â(absolute size) xx-small, x-small, small, medium, large, x-large, xx-large, size(length: px) ȤÀº »ó´ë Å©±â(relative size) larger, smaller, ¹éºÐÀ² Å©±â(percentage: %)·Î ÁöÁ¤ ÇÑ´Ù. H2 {font-size: 200%;} .font7 {font-size: 36pt;} <STYLE type="text/css"> .font7 {font-size: 14pt;} .font8 {font-size: 80%;} </STYLE> <table><tr> <td class=font7>font-size 14pt ÁöÁ¤</td> <td class=font8>font-size 80% ÁöÁ¤</td> </tr></table>
| ||
ÆùÆ® º¹ÇÕ ¸í·É font ⇒ ⇒ ⇒ CSS1 ±Ô°Ý ÆùÆ® º¹ÇÕ¸í·É ¼³¸í |
°£·«ÇÏ°Ô ÆùÆ®ÀÇ ¿©·¯ Ư¼ºÀ» Çѹø¿¡ ÁöÁ¤ ÇÒ ¼ö Àִµ¥ ÁöÁ¤ÇÏ´Â ¼ø¼´Â ¹Ù²î¸é ¾Ê°í ¼ø¼´Â font{font-style font-variant font-weight font-size/line-height font-family ;} ÀÌ¸ç ºóÄÀ¸·Î ±¸ºÐ µÇ°í °ªÀº »ý·« µÉ ¼ö ÀÖ´Ù. P {font: italic nomal bold 12pt/14pt ±Ã¼,'Courier New';} .font9 {font: bold 12pt/14pt Helvetica,sans-serif;} <STYLE type="text/css"> .font9 {font: normal 10pt/12pt ±Ã¼Ã¼} .font10 {font: bold 11pt/13pt Helvetica,sans-serif;} </STYLE> <table> <tr><td class=font9>bold 10pt/12pt ±Ã¼Ã¼ ÁöÁ¤</td></tr> <tr><td class=font10> italic normal 10pt/13pt Bookman Old Style ÁöÁ¤</td></tr> </table>
|
|