File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed
.learn/resets/04.1-Combined-Rules
exercises/04.1-Combined-Rules Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
5
+ < title > 04.1 Combined Rules</ title >
6
+ </ head >
7
+
8
+ < body >
9
+ < div class ="myBox "> Hello!</ div >
10
+ </ body >
11
+ </ html >
Original file line number Diff line number Diff line change 1
1
.myBox {
2
2
width : 50px ;
3
3
height : 50px ;
4
- padding-top : 10px ;
5
- padding-left : 30px ;
6
- padding-right : 190px ;
7
- padding-bottom : 50px ;
8
-
9
- background : rgb (189 , 189 , 189 );
10
- background-image : url (https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/3a2d1dd03f58167a5a4894155af2d3aa4d41d647/.learn/assets/baby.jpg?raw=true);
11
- background-position-x : 100px ;
12
- background-repeat : no-repeat;
4
+ padding : 10px 190px 50px 30px ;
5
+ background : rgb (189 , 189 , 189 )
6
+ url (https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/3a2d1dd03f58167a5a4894155af2d3aa4d41d647/.learn/assets/baby.jpg?raw=true)
7
+ 100px no-repeat;
13
8
background-size : contain;
14
9
}
You can’t perform that action at this time.
0 commit comments