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 44 padding : 0 ;
55}
66
7- /* Inheritance example */
7+ /* PAGE SECTIONS */
88body {
99 color : # 444 ;
1010 font-family : sans-serif;
2525 padding-right: 40px; */
2626 padding : 20px 40px ;
2727 margin-bottom : 60px ;
28- height : 80px ;
28+ /* height: 80px; */
2929}
3030
3131/* Inheritance example */
@@ -49,6 +49,7 @@ aside {
4949 width : 500px ;
5050}
5151
52+ /* SMALLER ELEMENTS */
5253h1 ,
5354h2 ,
5455h3 {
8283 font-size : 22px ;
8384 line-height : 1.5 ;
8485 margin-bottom : 15px ;
86+
87+ /* Block to Inline level Elements Behavior Demo */
88+ /* display: inline; */
8589}
8690
8791ul ,
9397li {
9498 font-size : 20px ;
9599 margin-bottom : 10px ;
100+
101+ /* Block to Inline level Elements Behavior Demo */
102+ /* display: inline; */
96103}
97104
98105li : last-child {
@@ -193,6 +200,22 @@ a:active {
193200 height : auto;
194201}
195202
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+
196219/* Resolving conflicts */
197220# copyright {
198221 color : yellow;
You can’t perform that action at this time.
0 commit comments