File tree Expand file tree Collapse file tree 1 file changed +33
-4
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 1 file changed +33
-4
lines changed Original file line number Diff line number Diff line change 6
6
padding : 0 ;
7
7
}
8
8
9
+ /* PAGE SECTIONS */
9
10
body {
10
11
color : # 444 ;
11
12
font-family : sans-serif;
27
28
padding-right: 40px; */
28
29
padding : 20px 40px ;
29
30
margin-bottom : 60px ;
30
- height : 80px ;
31
+ /* height: 80px; */
31
32
}
32
33
33
34
nav {
@@ -49,6 +50,8 @@ aside {
49
50
padding : 50px 0px ;
50
51
width : 500px ;
51
52
}
53
+
54
+ /* SMALLER ELEMENTS */
52
55
h1 ,
53
56
h2 ,
54
57
h3 {
82
85
font-size : 22px ;
83
86
line-height : 1.5 ;
84
87
margin-bottom : 15px ;
88
+ /* * Convert the nav lin to Inline-Level elements */
89
+ /* display: inline; */
85
90
}
86
91
87
92
ul ,
93
98
li {
94
99
font-size : 22px ;
95
100
margin-bottom : 10px ;
101
+ /* * Convert the nav lin to Inline-Level elements */
102
+ /* display: inline; */
96
103
}
97
104
98
105
li : last-child {
@@ -125,9 +132,10 @@ li:last-child {
125
132
list-style : none;
126
133
}
127
134
128
- body {
129
- /* background-color: blue; */
130
- }
135
+ /* body {
136
+ background-color: blue;
137
+ }
138
+ */
131
139
132
140
/* * Pseudo Class */
133
141
li : first-child {
@@ -193,8 +201,29 @@ footer p {
193
201
color : green;
194
202
}
195
203
204
+ /* * Already is a inline-block box element*/
196
205
.post-img {
197
206
/* * Responsive Size*/
198
207
width : 100% ;
199
208
height : auto;
209
+ /* margin-top: 100px; */
210
+ }
211
+
212
+ /* * Convert the nav link to Block-Level elements */
213
+ /* nav a:link {
214
+ background-color: orangered;
215
+ margin: 20px;
216
+ padding: 20px;
217
+ display: block;
218
+ } */
219
+
220
+ /* * Convert the nav link to Inline-Block Level elements */
221
+ nav a : link {
222
+ margin-right : 30px ;
223
+ margin-top : 10px ;
224
+ display : inline-block;
225
+ }
226
+
227
+ nav a : link : last-child {
228
+ margin-right : 0px ;
200
229
}
You can’t perform that action at this time.
0 commit comments