forked from dhruvm14-zz/KalakritiWebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcohead.css
67 lines (64 loc) · 1.25 KB
/
cohead.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
/* --------CO HEADS------ */
.coHeads h2{
font-size: 2rem;
}
.box{
display: flex;
width: 100%;
justify-content: center;
align-items: center;
padding-bottom: 5%;
flex-wrap: wrap;
color: black;
}
.card4{
position: relative;
height: 80px;
width: 300px;
background-color: transparent;
transition: 0.5s;
}
.cardInner4{
position: relative;
transition: transform 0.8s;
height: 100%;
width: 100%;
transform-style: preserve-3d;
}
.cardBack4{
position: absolute;
top: 0;
left: 0;
background-color:black;
text-align: center;
align-items: center;
height: 100%;
width: 100%;
transform: rotateY(180deg);
border: 2px solid black;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.cardFront4{
position: absolute;
top: 0;
color: #08c7bd;
left: 0;
height: 100%;
border: 2px solid black;
text-align: center;
background-color: black;
width: 100%;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.cardFront4 p{
font-size: 1.5rem;
margin-top: 20px;
}
.cardBack4 p{
padding-top: 16px;
}
.card4:hover .cardInner4{
transform: rotateY(-180deg);
}