mirror of
https://gitee.com/many2many/java-web.git
synced 2025-01-11 22:50:54 +08:00
changed
This commit is contained in:
parent
3ddcfb50e5
commit
bff9bbcc6f
@ -176,7 +176,7 @@ HTML 元素(标签):
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
#### 2.2.2 CSS3样式和布局 (了解)
|
#### 2.2.2 CSS (了解)
|
||||||
|
|
||||||
[B站视频-为初学者准备的:CSS 速成](https://www.bilibili.com/video/BV1bW411R7hg/?spm_id_from=333.337.search-card.all.click&vd_source=fb252f6c305362a2870fb7388465df99)
|
[B站视频-为初学者准备的:CSS 速成](https://www.bilibili.com/video/BV1bW411R7hg/?spm_id_from=333.337.search-card.all.click&vd_source=fb252f6c305362a2870fb7388465df99)
|
||||||
|
|
||||||
@ -184,6 +184,23 @@ HTML 元素(标签):
|
|||||||
|
|
||||||
![](./resources/imgs/html-rendering.svg)
|
![](./resources/imgs/html-rendering.svg)
|
||||||
|
|
||||||
|
|
||||||
|
CSS 语法:
|
||||||
|
|
||||||
|
```
|
||||||
|
选择器 {
|
||||||
|
属性名: 属性值;
|
||||||
|
属性名: 属性值;
|
||||||
|
...
|
||||||
|
}
|
||||||
|
```
|
||||||
|
示例:
|
||||||
|
```css
|
||||||
|
body {
|
||||||
|
background-color: #f0f0f0;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
##### 2.2.2.1 CSS选择器
|
##### 2.2.2.1 CSS选择器
|
||||||
CSS选择器用以筛选出要添加样式的元素。
|
CSS选择器用以筛选出要添加样式的元素。
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user