-
Notifications
You must be signed in to change notification settings - Fork 0
/
mquiz.css
78 lines (76 loc) · 1.69 KB
/
mquiz.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
body {
transform: translatex(-4%);
font-family: 'Poppins', sans-serif;
overflow-x: hidden;
background-image: linear-gradient(rgba(0,0,0,0.68),rgba(0,0,0,0.68)),url("../e-book/media/bgq.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
width: 100%;
height: auto;
background-size: cover;
background-position: center;
position: relative;
padding: 0 5%;
display: flex;
justify-content: center;
animation: fadeIn 1s ease-in-out forwards;
opacity: 0;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
.a{
border: black;
transform: scale(0.9);
font-weight: bold;
background-color: white;
width: 30%;
justify-content: center;
align-items: center;
margin-top: 6%;
-moz-box-shadow: 0 0 20px 20px #888;
-webkit-box-shadow: 0 0 20px 20px#888;
box-shadow: 0 0 8px 8px #888;
}
.aa{
text-align: center;
text-decoration: underline;
}
.button{
width: 200px;
padding: 11px 0;
text-align: center;
margin: 630px 220px;
border-radius: 25px;
background-color: aqua;
font-weight: bold;
border: 2px solid #009688;
background: transparent;
color: #fff;
cursor:hand;
text-decoration: none;
position: absolute;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}