美文网首页
CSS - 字体

CSS - 字体

作者: baiying | 来源:发表于2016-12-16 14:01 被阅读19次

字体系列

  • 指定字体
  • 通用字体:
  • Serif
  • Sans-serif
  • Monospace
  • Cursive
  • Fantasy

设置字体

font-family

例:
body{font-family:Sans-serif }

字体风格

font-style

  • normal - 文本正常显示
  • italic - 文本斜体显示
  • oblique - 文本倾斜显示

字体大小

font-size
例:
body{font-size:40px}

相关文章

网友评论

      本文标题:CSS - 字体

      本文链接:https://www.haomeiwen.com/subject/khhwmttx.html