css3引入样式方式
1 style=""
2 <style>
选择器{}
</style>
3 <link href="" rel="stylesheet" type="text/css">
基本选择器
id(id选择器的命名不能用数字只能用英文)
标签
class
层次选择器
后代选择器
子选择器
相邻选择器
相通选择器
结构伪类选择器
: first-child
:last-child
:nth-child(n)
HTML5学习笔记4
猜你喜欢
转载自blog.csdn.net/qq_41733293/article/details/89468725
今日推荐
周排行