File tree Expand file tree Collapse file tree 2 files changed +49
-2
lines changed
2-desenvolvimento-front-end/DR1-mobile-first-ui/DR1-TP1.01 Expand file tree Collapse file tree 2 files changed +49
-2
lines changed Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6- < title > Document</ title >
6+ < link rel ="stylesheet " href ="./style.css ">
7+ < title > DR1-TP1.01</ title >
78</ head >
89< body >
9- teste2
10+ < main >
11+ < ul class ="horizontal ">
12+ < li > Item 1</ li >
13+ < li > Item 2</ li >
14+ < li > Item 3</ li >
15+ </ ul >
16+ < ul class ="vertical ">
17+ < li > Item 1</ li >
18+ < li > Item 2</ li >
19+ < li > Item 3</ li >
20+ < li > Item 4</ li >
21+ </ ul >
22+ </ main >
1023</ body >
1124</ html >
Original file line number Diff line number Diff line change 1+ body {
2+ background-color : # 333333 ;
3+ color : # ffffff ;
4+ font-family : Verdana, Geneva, Tahoma, sans-serif;
5+ }
6+
7+ main {
8+ border : 1px solid # 494949 ;
9+ padding : 16px ;
10+ border-radius : 8px ;
11+ }
12+
13+ ul {
14+ list-style-type : none;
15+ padding : 0 ;
16+
17+ & .horizontal {
18+ display : flex;
19+ flex-direction : row-reverse;
20+ gap : 16px ;
21+ }
22+
23+ & .vertical {
24+ display : flex;
25+ flex-direction : column-reverse;
26+ gap : 16px ;
27+ }
28+ }
29+
30+ li {
31+ background-color : # 3a3a3a ;
32+ padding : 12px 16px ;
33+ border-radius : 6px ;
34+ }
You can’t perform that action at this time.
0 commit comments