-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdesafioCard.html
More file actions
104 lines (90 loc) · 2.42 KB
/
Copy pathdesafioCard.html
File metadata and controls
104 lines (90 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Desafio Card</title>
<style>
body {
padding: 10px;
font-family: Verdana, sans-serif;
}
.curso {
/* float: left */
display: inline-block;
vertical-align: top;
box-shadow: 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
width: 19%;
height: 40%;
border-radius: 5px;
padding: 5px;
margin: 5px;
}
.curso:hover {
box-shadow: 8px 16px 0 rgba(0,0,0,0.2);
}
.curso img {
width: 100%;
max-height: 50%;
}
.curso-preco {
float: right;
align-content: top;
padding: 5px;
}
.curso-info {
padding: 10px;
height: 50%;
overflow: hidden;
}
.curso-info h4 {
font-size: 1.4rem;
font-weight: 100;
margin: 0px;
}
.preco-por {
color: green;
font-weight: bold;
font-size: 1.4rem;
}
.preco-de {
text-decoration: line-through;
color: firebrick;
font-size: 1,4rem;
}
</style>
</head>
<body>
<h1>Card</h1>
<h2>Objetivo</h2>
<img src="http://files.cod3r.com.br/curso-web/card.png" height="340" alt="Objetivo">
<h2>Resultado</h2>
<div>
<div class="curso">
<img src="http://files.cod3r.com.br/curso-web/curso1.jpg" />
<div class="curso-info">
<h4>Docker: Ferramenta essencial para Desenvolvedores</h4>
<p>Prof. Fulano</p>
</div>
<div class="curso-preco">
<span class="preco-de">R$80,00</span>
<span class="preco-por">R$50,00</span>
</div>
</div>
<div class="curso">
<img src="http://files.cod3r.com.br/curso-web/curso2.jpg" />
<div class="curso-info">
<h4>Web Moderno com Javascript + Projetos</h4>
<p>Prof. Sicrano Filho</p>
</div>
<div class="curso-preco">
<span class="preco-de">R$80,00</span>
<span class="preco-por">R$50,00</span>
</div>
</div>
</div>
<div>
jkjk
</div>
</body>
</html>