-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (57 loc) · 1.71 KB
/
index.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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
*{
box-sizing: border-box;
}
body {
background: url("/images/background-phone.webp") no-repeat;
background-size: cover;
margin: 0 auto;
padding: 0;
background-position: center center;
}
div.container {
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 10px;
background: linear-gradient(rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.2));
}
@media (min-width: 768px){
body {
background: url("/images/background-tablet.webp") no-repeat;
background-size: cover;
background-position: center center;
}
}
@media (min-width:1280px) {
body {
background: url("/images/background-desktop.webp") no-repeat;
background-size: cover;
background-position: center center;
}
}
h1, h2 {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: whitesmoke;
font-weight: 200;
}
</style>
<title>Atividade 2</title>
</head>
<body>
<div class="container">
<h2>Bem-vindo à MASTERCARD</h2>
<h1>Experimente o mundo com Mastercard</h1>
</div>
</body>
</html>