blob: 653dd8b10516a08042a40a7dbdb8b31477a42df7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<html>
<head>
<title>CSS Motion Path: offset-distance</title>
<style>
#target {
position: absolute;
width: 100px;
height: 40px;
background-color: lime;
transform-origin: 0% 0%;
transform: translateX(120px);
}
</style>
</head>
<body>
<div id="target"></div>
</body>
</html>
|