blob: 0f2b125082a7c6d97d3bcfe06915f1c5710d0918 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<!DOCTYPE html>
<html>
<head>
<style>
@keyframes rotate {
100% {
transform: rotatey(1800deg);
}
}
@keyframes rotate2 {
100% {
transform: rotatey(2800deg);
}
}
.text {
position: absolute;
top: 100px;
left: 100px;
height: 400px;
width: 400px;
transform-style: preserve-3d;
transform: rotatey(271deg);
/*animation: rotate 30s linear infinite reverse;*/
}
.thing {
position: absolute;
top: 0;
left: 0;
width: 512px;
height: 512px;
background: url('data:image/svg+xml;utf8,<svg width="512" height="200" viewBox="0 0 512 512" fill="black" xmlns="http://www.w3.org/2000/svg"><text x="0" y="400" font-size="100">some text</text></svg>');
background-repeat: no-repeat;
background-size: 100% 100%;
transform: rotatey(89deg) translatez(117.04394px);
}
</style>
</head>
<body>
<div class='text'>
<div class="thing"></div>
</div>
</body>
</html>
|