Skip to content

Commit ac2fec8

Browse files
committed
Background Images - background-repeat
1 parent 6fb107e commit ac2fec8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

styles.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
1-
/* Background Images*/
1+
/* background-repeat */
22

33
div {
44
height: 300px;
55
color: white;
6+
/* border: 2px solid red; */
67
}
78

89
.big-img {
910
background: url("./big.jpeg");
11+
background-repeat: no-repeat;
1012
}
1113

1214
.small-img {
1315
background: url("./small.jpeg");
16+
background-repeat: repeat-x;
17+
background-repeat: repeat-y;
18+
background-repeat: space;
19+
background-repeat: round;
20+
background-repeat: no-repeat;
1421
}
1522

1623
.folder-img {
1724
background: url("./images/folder-img.jpeg");
25+
background-repeat: no-repeat;
1826
}

0 commit comments

Comments
 (0)