-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCard-Flip.html
More file actions
38 lines (35 loc) · 954 Bytes
/
Copy pathCard-Flip.html
File metadata and controls
38 lines (35 loc) · 954 Bytes
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
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>card</title>
<style type="text/css" media="all">
.container {
perspective: 500px;
/* background: yellow; */
}
.card {
width: 300px;
height: 400px;
border: 1px solid #1a1a1a;
margin: 100px auto;
background: #aaa;
border-radius: 4px;
transition: transform 0.5s ease;
transform-style: preserve-3d;
background-color: none;
}
.card:hover {
transform: rotateY(180deg);
}
}
</style>
</head>
<body>
<div class="container">
<div class="card">Hello</div>
</div>
<input type="search" name="" id="" value="" />
</body>
</html>