---
title: "css的字体属性集"
author: "piperzero"
date: "2013-06-16T14:11:00Z"
tags: []
slug: "css"
draft: false
lastmod: "2013-07-16T08:31:45Z"
id: 1906873
url: "https://piperzero.iteye.com/blog/1906873"
---

**font-style:**

inherit：继承

italic：斜体

normal：正常

oblique：偏斜体

**font-size：**

xx-small： 取所有相对大小取值中最小的；

x-small：仅大于xx-small的字体

small：默认的小字体

medium:默认值

large：默认的大字体

x-large：仅小于xx-large

xx-large:最大的字体

**text-decoration:**

inherit： 继承

none：无文本修饰，缺省设置

underline：下划线

overline：顶划线

line-through：删除线

blink：是文本闪烁

**font-weight：**

bold：粗体 相当于数值700

bolder：特粗体

lighter：细体

normal：正常体 数值400