CSS3新增知识有哪些特点和应用?
- 内容介绍
- 文章标签
- 相关推荐
本文共计808个文字,预计阅读时间需要4分钟。
1. 新增选择器: - Text-fill-color: 文字内部填充颜色 - Text-stroke-color: 文字边界填充颜色 - Text-stroke-width: 文字边界宽度 - Column-co: 列偏移量
1. 代码示例: css E > nth-last-child(n) E > nth-of-type(n) E > nth-last-of-type(n) E > last-child E > first
1.新增选择器Text-fill-color:文字内部填充颜色Text-stroke-color:文字边界填充颜色Text-stroke-width:文字边界宽度Column-co1.新增选择器
E:nth-last-child(n) E:nth-of-type(n) E:nth-last-of-type(n) E:last-child E:first-of-type E:only-child E:only-of-type E:empty E:checked E:enabled E:disabled E::selection E:not(s)2.Font-face 特性 Font-face 可以用来加载字体样式,而且它还能够加载服务器端的字体文件,让客户端显示客户端所没有安装的字体。本文共计808个文字,预计阅读时间需要4分钟。
1. 新增选择器: - Text-fill-color: 文字内部填充颜色 - Text-stroke-color: 文字边界填充颜色 - Text-stroke-width: 文字边界宽度 - Column-co: 列偏移量
1. 代码示例: css E > nth-last-child(n) E > nth-of-type(n) E > nth-last-of-type(n) E > last-child E > first
1.新增选择器Text-fill-color:文字内部填充颜色Text-stroke-color:文字边界填充颜色Text-stroke-width:文字边界宽度Column-co1.新增选择器
E:nth-last-child(n) E:nth-of-type(n) E:nth-last-of-type(n) E:last-child E:first-of-type E:only-child E:only-of-type E:empty E:checked E:enabled E:disabled E::selection E:not(s)2.Font-face 特性 Font-face 可以用来加载字体样式,而且它还能够加载服务器端的字体文件,让客户端显示客户端所没有安装的字体。
