CSS font


body {
  /* As long as these are defined before font-size, they can be placed in any order. Including line-height is likewise optional but may be declared only after font-size and only following a forward slash https://css-tricks.com/almanac/properties/f/font/ */
  font: italic small-caps bold 50px/2 'Indie Flower', cursive;

/* Same as */

body {
  font-family: "Indie Flower", cursive;
  line-height: 2;
  font-weight: bold;
  font-style: italic;
  font-variant: small-caps;
  font-size: 50px;


如希望撰写评论,请发邮件至 me@tianhegao.com (直接点击邮箱可自动跳转至默认邮箱App,并填写收信人和邮件主题)或者点击这里在线留言,我会挑选对读者有价值的评论附加到文章末尾。