File tree Expand file tree Collapse file tree 4 files changed +31
-11
lines changed
exercises/04.1-Combined-Rules Expand file tree Collapse file tree 4 files changed +31
-11
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 >
6
+ 04 Combined Rules
7
+ </ title >
8
+ </ head >
9
+
10
+ < body >
11
+ < div class ="myBox "> Hello!</ div >
12
+ </ body >
13
+ </ html >
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 >
6
+ 04.3 ID selector
7
+ </ title >
8
+ </ head >
9
+
10
+ < body >
11
+ < span > I should look like a button</ span >
12
+ </ body >
13
+ </ html >
Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< link rel ="stylesheet " type ="text/css " href ="./styles.css " />
5
- < title >
6
- 04 Combined Rules
7
- </ title >
5
+ < title > 04 Combined Rules</ title >
8
6
</ head >
9
7
10
8
< body >
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 ;
4
+ padding : 10px 190px 50px 30px ;
8
5
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;
6
+ background : rgb (189 , 189 , 189 )
7
+ url (https://github.com/4GeeksAcademy/css-tutorial-exercises-course/blob/3a2d1dd03f58167a5a4894155af2d3aa4d41d647/.learn/assets/baby.jpg?raw=true)
8
+ 100px no-repeat;
13
9
background-size : contain;
14
10
}
You can’t perform that action at this time.
0 commit comments