-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
93 lines (81 loc) · 1.56 KB
/
style.css
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
.container{
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
button{
position: absolute;
left: 50%;
top: 50%;
padding: 10px;
transform: translate(-50%,-50%);
cursor: pointer;
z-index: -1;
width: 200px;
background-color: gray;
color: #fff;
border: none;
}
.modal{
width: 80%;
height: 300px;
background-color: #fff;
box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.247);
z-index: 999;
transform: scale(0);
transition: .5s;
}
.modal .close-modal{
padding: 10px;
display: flex;
align-items: center;
justify-content: flex-end;
border-bottom: 1px solid rgba(0, 0, 0, 0.158);
}
.close-modal i{
font-size: 24px;
cursor: pointer;
}
.modal-txt{
padding-top: 30px;
display: flex;
align-items: center;
justify-content: space-around;
}
.modal-txt i{
font-size: 68px;
color: green;
}
.modal-txt .modal-txt-lorem{
width: 50%;
display: flex;
flex-direction: column;
gap: 10px;
}
.modal-txt-lorem h1{
font-size: 28px;
color: gray;
}
.modal-txt-lorem p{
color: rgb(160, 154, 154);
font-size: 20px;
}
@media(width < 435px){
.modal-txt-lorem h1{
font-size: 20px;
}
.modal-txt-lorem p{
font-size: 14px;
}
}