-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
77 lines (75 loc) · 1.63 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
body{
display : flex;
justify-content: center;
align-items : center;
min-height:100vh;
background: #c31432; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #240b36, #c31432); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #240b36, #c31432); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.wrapper{
position: relative;
width: 70vw;
height: 70vh;
background-color: white;
border-radius: 20px;
display : flex;
justify-content: center;
align-items : center;
flex-direction:column;
}
@media only screen and (max-width:800px) {
.wrapper{
width: 90%;
height: 50vh;
}
}
h2{
font-size: 3rem;
color: #e82adf;
text-align:center;
transition : .5s all;
}
.btn-group{
width: 100%;
height: 40px;
display : flex;
justify-content: center;
margin-top: 15px;
}
button{
position: absolute;
width: 140px;
height: inherit;
font-size: 1.1rem;
font-weight: 600;
border-radius: 30px;
border: 2px solid #7d2ae8;
outline: none;
cursor: pointer;
color: white;
transition: .5s all;
}
button:nth-child(1){
margin-left: -160px;
background-color: #e82a89;
border: none;
}
button:nth-child(2){
margin-right: -160px;
background-color: #7d2ae8;
transition: .07777s all;
}
/*
.no-btn:hover{
border: 2px solid #7d2ae8;
background-color: white;
color: #7d2ae8;
}
*/
.yes-btn:hover{
border : 2px solid #e82a89;
background: white;
color: #e82a89;
}