-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtmlcss3(4).html
More file actions
56 lines (42 loc) · 853 Bytes
/
htmlcss3(4).html
File metadata and controls
56 lines (42 loc) · 853 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<title> Belajar CSS 3 </title>
<style>
div{
width: 100px; height: 100px; margin-bottom: 5px;
}
#div0{
perspective: 100px;
perspective-origin: 59% 40%;
}
#div1{
background: blue;
transform: rotateX(150deg);
}
#div2{
perspective: 100px;
perspective-origin: 29% 20%;
}
#div3{
background: red;
transform: rotateX(150deg);
}
</style>
</head>
<body>
<!--
efek hanya pada 3D elemen
Efek pada child bukan elemen sendiri
-->
<h1> Perspektive </h1>
<div id="div0">
<div id="div1"> </div>
</div>
<div id="div2">
<div id="div3"> </div>
</div>
<br>
© inisial K
</body>
</html>