-
Notifications
You must be signed in to change notification settings - Fork 0
/
desafioCard.html
89 lines (77 loc) · 2.13 KB
/
desafioCard.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Desafio Card</title>
<style>
.curso {
float: left;
vertical-align: top;
font-family: Verdana, sans-serif;
border: solid 1px #ccc;
box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.3);
height: 300px;
width: 260px;
margin: 5px 20px;
padding: 5px ;
}
.curso img {
width: 100%;
max-height: 50%;
}
.curso-info {
padding: 10px;
height: 90px;
overflow: hidden;
}
.curso-info h4 {
font-size: 1.4em;
font-weight: 100;
margin: 0px;
}
.curso-preco {
float: right;
padding: 10px;
}
.preco-de {
text-decoration: line-through;
color: firebrick;
}
.preco-por {
color: green;
font-weight: bold;
font-size: 1.4em;
}
</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>
</body>
</html>