Skip to content

Commit 7f2fcbb

Browse files
committed
2-DR1-TP1.01
1 parent 5ec6891 commit 7f2fcbb

File tree

2 files changed

+49
-2
lines changed

2 files changed

+49
-2
lines changed

2-desenvolvimento-front-end/DR1-mobile-first-ui/DR1-TP1.01/index.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,22 @@
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>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
}

0 commit comments

Comments
 (0)