-
Notifications
You must be signed in to change notification settings - Fork 0
/
hero.css
98 lines (85 loc) · 1.67 KB
/
hero.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/* scroll bar */
body::-webkit-scrollbar {
display: none;
}
#powerstats::-webkit-scrollbar {
display: none;
}
#biography::-webkit-scrollbar {
display: none;
}
/* section container heading main */
#personalDetail h1 {
padding-bottom: 10px;
font-size: 50px !important;
}
/* image style */
#imageSuper {
height: 400px;
width: 500px;
min-width: 100px;
min-height: 100px;
overflow: scroll;
transition: 0.5s all ease-in-out;
}
/* flip the image */
.flip-box {
background-color: transparent;
width: 500px;
height: 400px;
perspective: 1000px;
margin: auto;
}
.flip-box-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.8s;
transform-style: preserve-3d;
}
.flip-box:hover .flip-box-inner {
transform: rotateY(180deg);
}
.flip-box-front,
.flip-box-back {
position: absolute;
width: 100%;
height: 100%;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.flip-box-front {
background-color: #bbb;
color: black;
}
/* Style the back side */
.flip-box-back {
background-color: black;
color: white;
transform: rotateY(180deg);
font-family: monospace;
display: flex;
align-self: center;
padding-left: 5%;
font-size: 18px;
text-align: justify;
}
/* article container */
#biography,
#powerstats {
height: 220px;
width: 100%;
min-width: 100px;
min-height: 100px;
overflow: scroll;
transition: 0.5s all ease-in-out;
}
#powerstats p,
#biography p {
padding-left: 5%;
text-align: justify;
font-size: 18px;
text-align: center;
text-align: justify;
}