Skip to content

Commit

Permalink
update: image
Browse files Browse the repository at this point in the history
  • Loading branch information
qianguyihao committed Oct 4, 2019
1 parent 415f05a commit 2846416
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions 02-CSS基础/06-CSS盒模型详解.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,23 +118,23 @@ CSS盒模型和IE盒模型的区别:
盒子1:

```css
.box1{
width: 100px;
height: 100px;
padding: 100px;
border: 1px solid red;
}
.box1{
width: 100px;
height: 100px;
padding: 100px;
border: 1px solid red;
}
```

盒子2:

```css
.box2{
width: 250px;
height: 250px;
padding: 25px;
border: 1px solid red;
}
.box2{
width: 250px;
height: 250px;
padding: 25px;
border: 1px solid red;
}
```


Expand Down Expand Up @@ -482,7 +482,7 @@ div{
height: 0;
border: 50px solid transparent;
border-top-color: red;
border-bottom: none;
border-bottom: none;
}

```
Expand All @@ -491,7 +491,7 @@ div{

(1)当我们设置盒子的width和height为0时,此时效果如下:

![](http://img.smyhvae.com/20170728_1640.png)
![](http://img.smyhvae.com/20170728_1639.png)

(2)然后将border的底部取消:

Expand Down

0 comments on commit 2846416

Please sign in to comment.