We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac2fec8 commit 3d7b3a3Copy full SHA for 3d7b3a3
styles.css
@@ -1,26 +1,25 @@
1
-/* background-repeat */
+/* background-size */
2
3
div {
4
height: 300px;
5
color: white;
6
- /* border: 2px solid red; */
+ border: 2px solid red;
7
}
8
9
.big-img {
10
background: url("./big.jpeg");
11
background-repeat: no-repeat;
12
+ background-size: cover;
13
14
15
.small-img {
16
background: url("./small.jpeg");
- background-repeat: repeat-x;
17
- background-repeat: repeat-y;
18
- background-repeat: space;
19
- background-repeat: round;
20
21
22
23
.folder-img {
24
background: url("./images/folder-img.jpeg");
25
- background-repeat: no-repeat;
+ /* background-repeat: no-repeat; */
+ background-size: contain;
26
0 commit comments