-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjohn.CSS
More file actions
129 lines (128 loc) · 2.13 KB
/
john.CSS
File metadata and controls
129 lines (128 loc) · 2.13 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
*{
padding: 0;
margin: 0;
/* font-family: 'poppins'; sans-serif; */
box-sizing: border-box;
}
.container{
width: 100%;
min-height: 100vh;
background: linear-gradient(135deg, #333,black);
padding: 10px;
}
.card{
width: 350px;
height: 515px;
margin: 100px auto;
}
.card-inner{
width: 100%;
height: 100%;
position: relative;
transition: transform 1s;
transform-style: preserve-3d;
}
.front, .back{
width: 100%;
height: 100%;
border-radius: 15px;
position: absolute;
backface-visibility: hidden;
}
.front{
background-image: url(image/narutogo.jpeg);
background-size: cover;
background-position: center;
padding: 60px 40px;
display: flex;
flex-direction: column;
justify-content: flex-end;
color: white;
}
.front h2{
font-weight: 500;
}
.front p{
color: #ccc;
font-size: 13px;
}
.front button{
width: 120px;
border: 1px solid white;
background: transparent;
border-radius: 50px;
padding: 8px 20px;
cursor: pointer;
margin-top: 20px;
color: white;
}
.back{
background: white;
color: #333;
padding: 20px 40px;
transform: rotateY(180deg);
}
.back h1{
font-size: 50px;
line-height: 55px;
margin-bottom: 10px;
}
.back h1 span{
font-weight: 400;
}
.back p{
font-size: 14px;
}
.back p span{
font-weight: 600;
}
.back img{
width: 170px;
}
.row{
display: flex;
align-items: center;
margin-top: 30px;
}
.col{
flex: 1;
text-align: center;
color: #555;
font-size: 12px;
position: relative;
}
.col h2{
font-size: 20px;
}
.col::after{
content: '';
width: 1.5px;
height: 20px;
background: #7800ad;
position: absolute;
top: 5px;
right: 0;
}
.col:last-child::after{
display: none;
}
.col p{
margin-top: 5px;
}
.back button{
background: #7800ad;
color: #fff;
border: 0;
padding: 8px 25px;
border-radius: 30px;
font-size: 14px;
margin-right: 15px;
box-shadow: 0 8px 10rgba(120,0,170,0.3);
}
.card:hover .card-inner{
transform: rotateY(180deg);
}
li{
list-style: none;
color: black;
}