CSS的一些常用样式,如背景、文字、文本、表格、列表等,以及一些常用的场景,如居中对齐、溢出、隐藏元素等。01、常用样式 1.1、background背景 设置元素背景的样式 background,更
2021-10-21 13:48:36
176
a:link /* 未访问的链接 */ a:visited /* 已访问的链接 */ a:hover /* 当有鼠标悬停在链接上 */ a:active /* 被选择的链接 */ a,a:visited,a:hover,a:active { /*全部状态都一样的效果*/ text-decoration: none; /*没有下划线*/ color: blue; /*一直都蓝色*/ font-weight: bold; /*加粗*/ }
09
2022-11
19
2022-10
30
2022-09
15
2022-09
15
2022-09
15
2022-09