File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ <h2>The Basic Language of the Web: HTML</h2>
4949 width ="500 "
5050 height ="200 "
5151 />
52+
53+ < button > ❤️ Like</ button >
5254 </ header >
5355
5456 < p >
Original file line number Diff line number Diff line change 1313 border-top : 10px solid # 1098ad ;
1414 color : # 444444 ;
1515 font-family : sans-serif;
16+ position : relative;
1617}
1718
1819article {
2930 text-transform : uppercase;
3031}
3132
33+ h1 ::first-letter {
34+ font-style : normal;
35+ margin-right : 5px ;
36+ }
37+
3238h2 {
3339 font-size : 40px ;
3440 margin-bottom : 30px ;
41+ position : relative;
42+ }
43+
44+ h2 ::after {
45+ background-color : # ffe70e ;
46+ color : # 444444 ;
47+ content : "TOP" ;
48+ display : inline-block;
49+ font-size : 16px ;
50+ font-weight : bold;
51+ padding : 5px 10px ;
52+ position : absolute;
53+ right : -25px ;
54+ top : -10px ;
3555}
3656
3757h3 {
5171 margin-bottom : 50px ;
5272}
5373
74+ h3 + p ::first-line {
75+ /* color: red */
76+ }
77+
5478ul , ol {
5579 margin-left : 50px ;
5680 margin-bottom : 20px ;
@@ -123,6 +147,15 @@ nav {
123147 font-size : 18px ;
124148}
125149
150+ button {
151+ bottom : 50px ;
152+ cursor : pointer;
153+ font-size : 22px ;
154+ padding : 20px ;
155+ position : absolute;
156+ right : 50px ;
157+ }
158+
126159/* ul {
127160 list-style: none;
128161} */
@@ -146,6 +179,7 @@ nav {
146179
147180.container {
148181 margin : 0 auto;
182+ /* position: relative; */
149183 width : 800px ;
150184}
151185
You can’t perform that action at this time.
0 commit comments