-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
90 lines (90 loc) · 1.72 KB
/
main.css
File metadata and controls
90 lines (90 loc) · 1.72 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
body {
background-color: rgb(51, 190, 178);
color:rgb(255, 255, 255);
font-family: Open Sans, Helvetica, Arial, Sans-Serif;
align-items: center;
font-weight: 600;
text-align: center;
}
#cardholder {
padding: none;
margin: none;
display: flex;
justify-content: center;
align-items: center;
}
#card {
z-index: 1;
width: 560px;
height: 220px;
padding-top: 120px;
border-radius: 2px;
background-color: rgb(238, 239, 236);
font-size: 150%;
color:rgb(25, 25, 25);
cursor: pointer;
position: relative;
}
#cardtxt {
position: relative;
z-index: 30;
}
.button {
margin-top: 10px;
padding-top: 7px;
padding-bottom: 7px;
padding-left: 7px;
padding-right: 7px;
outline: 3px solid white;
display: inline-block;
border-radius: 7px;
transition: background-color 0.5s;
cursor: pointer;
}
.button:hover {
background-color: rgb(101, 218, 218);
}
.animationClass {
animation: 0.33s linear flip;
}
@keyframes flip {
0% {
transform: rotateX(0deg) rotateY(0deg);
}
50% {
transform: rotateX(20deg) rotateY(-90deg);
}
100% {
transform: rotateX(0deg) rotateY(-180deg);
}
}
#redline {
width: 560px;
height: 2px;
background-color: rgb(215, 0, 0);
position: absolute;
left: 0px;
top: 40px;
z-index: 2;
padding: 0px;
margin: 0px;
}
#bluelines {
position: absolute;
top: 80.6px;
left: 0px;
width: 100%;
display: flex;
flex-direction: column;
gap: 34px;
align-items: center;
z-index: 2;
}
.blueline {
position: relative;
width: 560px;
height: 1px;
background-color: rgb(0, 125, 215);
margin-bottom: 0px;
padding: 0px;
}