-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdesign4.html
More file actions
143 lines (137 loc) · 3.98 KB
/
design4.html
File metadata and controls
143 lines (137 loc) · 3.98 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
body{
margin:0;
padding:0;
display:flex;
justify-content: center;
align-items: center;
min-height:100vh;
font-family:"Poppins",sans-serif;
}
.quote{
width:1200px;
min-height: 400px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
z-index:2;
}
.quote .box{
position:relative;
width:360px;
height:400px;
background:#fff;
overflow: hidden;
transition: 0.5s;
z-index:2;
box-sizing: border-box;
padding:30px;
box-shadow:-10px 25px 50px rgba(0,0,0,.2);
}
.quote .box p{
margin:0;
padding:0;
font-size:18px;
}
.quote .box:hover p{
color:#fff;
}
.quote .box h2{
position:absolute;
bottom:30px;
right:30px;
margin:0;
padding:0;
font-size:20px;
text-transform: uppercase;
}
.quote .box:hover h2{
color:#fff;
}
.quote .box:hover{
box-shadow:-20px 50px 100px rgba(0,0,0,.5);
}
.quote .bg{
position:absolute;
top:0;
left:0;
z-index:1;
opacity: 0;
transition:0.5s;
pointer-events: none;
width:100%;
height:100%;
}
.quote .box.box1:hover ~ .bg,
.quote .box.box1:hover {
opacity:1;
background:linear-gradient(#03A9f4,#e91e63);
}
.quote .box.box2:hover ~ .bg,
.quote .box.box2:hover {
opacity:1;
background:linear-gradient(#ffc107,#19fd63);
}
.quote .box.box3:hover ~ .bg,
.quote .box.box3:hover {
opacity:1;
background:linear-gradient(#ffc107,#e91e63);
}
.quote .box:before{
content:"";
position: absolute;
top:0;
left:-50%;
width:100%;
height:100%;
background:rgba(255,255,255,.2);
pointer-events: none;
}
.quote .box:after{
content:url(quote.png);
position: absolute;
bottom:10%;
right:10%;
opacity:0.1;
pointer-events: none;
background:rgba(255,255,255,.2);
filter:invert(1);
}
.quote .box:hover:after{
filter: invert(0);
}
</style>
</head>
<body>
<div class="quote">
<div>
<div class="box box1">
<p>Sakura Haruno is the important charactor in the anime named Naruto.She is best friend of Naruto.She loves Sasuke by the bottom of her heart.She is hard-working and student of one of the sanin.She is very pretty ans smart.</p>
<h2>Someone Famous</h2>
</div>
<div class="bg"></div>
</div>
<div>
<div class="box box2">
<p>Sakura Haruno is the important charactor in the anime named Naruto.She is best friend of Naruto.She loves Sasuke by the bottom of her heart.She is hard-working and student of one of the sanin.She is very pretty ans smart.</p>
<h2>Someone Famous</h2>
</div>
<div class="bg"></div>
</div>
<div>
<div class="box box3">
<p>Sakura Haruno is the important charactor in the anime named Naruto.She is best friend of Naruto.She loves Sasuke by the bottom of her heart.She is hard-working and student of one of the sanin.She is very pretty ans smart.</p>
<h2>Someone Famous</h2>
</div>
<div class="bg"></div>
</div>
</div>
</body>
</html>