blob: 0a45ec8804e41d9720325771af0c46c130d9ccbc (
plain)
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
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<style>
.parent {
border: none;
transform-style: preserve-3d;
background: red;
padding: 0px;
}
.child {
width: 100px;
height: 100px;
background: blue;
transform: rotate(45deg);
}
</style>
</head>
<body>
<button class="parent">
<div class="child"></div>
</button>
</body>
</html>
|