File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 4
4
padding : 0 ;
5
5
}
6
6
7
- /* Inheritance example */
7
+ /* PAGE SECTIONS */
8
8
body {
9
9
color : # 444 ;
10
10
font-family : sans-serif;
25
25
padding-right: 40px; */
26
26
padding : 20px 40px ;
27
27
margin-bottom : 60px ;
28
- height : 80px ;
28
+ /* height: 80px; */
29
29
}
30
30
31
31
/* Inheritance example */
@@ -49,6 +49,7 @@ aside {
49
49
width : 500px ;
50
50
}
51
51
52
+ /* SMALLER ELEMENTS */
52
53
h1 ,
53
54
h2 ,
54
55
h3 {
82
83
font-size : 22px ;
83
84
line-height : 1.5 ;
84
85
margin-bottom : 15px ;
86
+
87
+ /* Block to Inline level Elements Behavior Demo */
88
+ /* display: inline; */
85
89
}
86
90
87
91
ul ,
93
97
li {
94
98
font-size : 20px ;
95
99
margin-bottom : 10px ;
100
+
101
+ /* Block to Inline level Elements Behavior Demo */
102
+ /* display: inline; */
96
103
}
97
104
98
105
li : last-child {
@@ -193,6 +200,22 @@ a:active {
193
200
height : auto;
194
201
}
195
202
203
+ nav a : link {
204
+ /* Inline To Block level Elements Behavior Demo */
205
+ /* background-color: orangered;
206
+ margin: 20px;
207
+ padding: 20px;
208
+ display: block; */
209
+
210
+ margin-right : 30px ;
211
+ margin-top : 10px ;
212
+ display : inline-block;
213
+ }
214
+
215
+ nav a : link : last-child {
216
+ margin-right : 0 ;
217
+ }
218
+
196
219
/* Resolving conflicts */
197
220
# copyright {
198
221
color : yellow;
You can’t perform that action at this time.
0 commit comments