8000
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 e4b0c64 commit 596bef0Copy full SHA for 596bef0
.learn/resets/02.1-Background/index.html
@@ -0,0 +1,10 @@
1
+<!DOCTYPE html>
2
+<html>
3
+ <head>
4
+ <link rel="stylesheet" type="text/css" href="./styles.css" />
5
+ <title>02 Background</title>
6
+ </head>
7
+ <body>
8
+ My background should be an image with the size "contain"
9
+ </body>
10
+</html>
exercises/02.1-Background/styles.css
@@ -1,5 +1,5 @@
body {
background-image: url(https://4geeksacademy.github.io/exercise-assets/img/bg/small-mosaic.jpg);
- background-size: cover;
- background-repeat: no-repeat;
+ background-size: contain;
+ background-repeat: repeat;
}
0 commit comments