学习第一天完
This commit is contained in:
24
前端Web(HTML+CSS)/css/news.css
Normal file
24
前端Web(HTML+CSS)/css/news.css
Normal file
@@ -0,0 +1,24 @@
|
||||
span {
|
||||
/* color: gray; */
|
||||
|
||||
/* rgb表示法 */
|
||||
/* color: rgb(255, 0, 0); */
|
||||
|
||||
/* rgba表示法 */
|
||||
/* color: rgba(255, 0, 0, 0.5); */
|
||||
|
||||
/* 16进制表示法 */
|
||||
/* color: #0000ff; */
|
||||
/* color: #00f; */
|
||||
color: #b2b2b2;
|
||||
|
||||
/* 设置段落首行缩进 */
|
||||
|
||||
}
|
||||
|
||||
p {
|
||||
text-indent: 2em;
|
||||
/* 首行缩进2em */
|
||||
line-height: 2;
|
||||
/* 行高2倍 */
|
||||
}
|
||||
Reference in New Issue
Block a user