-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject01.CSS
More file actions
73 lines (65 loc) · 1.38 KB
/
Copy pathProject01.CSS
File metadata and controls
73 lines (65 loc) · 1.38 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
body,
html {
height: 100%;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
* {
box-sizing: border-box;
}
button {
margin-right: 5px;
margin-top: 5px;
color: #ffffff;
background-color: #00000096;
border: solid #ff0000;
border-radius: 2px;
flex-wrap: wrap;
}
button:hover {
background-color: #919191;
}
.bg-image {
/* The image used */
background-image: url("https://www.sanitecsolution.com.br/images/servicos/limpeza-em-concessionaria-de-automoveis-02.jpg");
/* Add the blur effect */
filter: blur(8px);
-webkit-filter: blur(2px);
/* Full height */
height: 100%;
/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.item {
flex-wrap: wrap;
max-width: 400px;
position: absolute;
text-align: center;
top: 50%;
left: 35%;
transform: translate(-0%, -20%);
z-index: 5;
}
/* Position text in the middle of the page/image */
.bg-text {
background-color: #000000;
/* Fallback color */
background-color: #00000096;
/* Black w/opacity/see-through */
color: #ffffff;
font-weight: bold;
border: 3px solid #ffffff;
position: absolute;
top: 30%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
width: 70%;
padding: 20px;
text-align: center;
}
h1 {
font-size: 50px;
}