-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
view/2019/06/background-size为100% 100%时背景图填充不完整/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
<h3>请查看README</h3> | ||
<pre> | ||
同README.md | ||
## background-size为100% 100%时背景图填充不完整 | ||
|
||
background-size为100% 100%时背景图填充不完整 | ||
详细说明的地址:[background-size为100% 100%时背景图填充不完整](http://www.zhuyuntao.cn/2019/06/04/background-size为100% 100%时背景图填充不完整/)。 | ||
|
||
### 说明 | ||
|
||
#### 图片说明 | ||
111.png 10px * 10px 宽高1 : 1的图片 | ||
222.png 40px * 10px 宽高4 : 1的图片 | ||
|
||
#### 小数有间隙.html | ||
当宽高是小数时,background-size为100% 100% 出现不完全覆盖的问题。 | ||
#### 整数无间隙.html | ||
当宽高是整数时,background-size为100% 100% 不会出现不完全覆盖的问题。 | ||
#### 100%保持宽高比.html | ||
background-size为100%时的真实含义。 | ||
#### 100%无间隙.html | ||
当宽高是小数时,background-size为100% 不会出现不完全覆盖的问题。 | ||
#### contain.html | ||
background-size为contain时的用法。 | ||
#### cover.html | ||
background-size为cover时的用法。 | ||
</pre> | ||
</body> | ||
</html> |