-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodal.css
69 lines (62 loc) · 1.35 KB
/
modal.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
*{
margin: 0%;
padding: 0%;
box-sizing: border-box;
font-family:Arial, Helvetica, sans-serif;
font-size: 1.3vw;
}
body{
background-image: linear-gradient(to right, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.hidden{
display: none;
}
.btn{
border: none; outline: none;
margin: 20vw 2vw;
margin-left: 13vw;
padding: 0.3vw 3vw;
border-radius: 1.5vw;
font-weight: bold;
color: black;
background: #ffffff5b;
cursor: pointer;
transition: 1s ease-in-out;
}
.btn:hover{
background: #ffffffce;
}
.overlay{
z-index: 0;
position: absolute;
top: 0vw; left: 0vw;
width: 100%; height: 100%;
background-image: linear-gradient(to right, #3d341cd8, #fa7d1ed3, #d62977d5, #2c0e38d5, #151838d7);
}
.overlay:hover{
cursor: pointer;
}
.close{
position: relative;
top: 0vw; left: 58vw;
margin-bottom: 2rem;
font-size: 1vw;
outline: none; border: none;
background-color: transparent;
cursor: pointer;
}
.modal{
z-index: 1;
position: absolute;
margin-top: 12vw;
margin-left: 18vw;
padding: 1vw 4vw;
height: 20vw; width: 65vw;
font-size: 1.2vw;
border-radius: 1vw;
background: white;
box-shadow: .5vw .5vw 1vw rgba(0, 0, 0, .5)
}
.modal:hover{
cursor:text;
}