17 lines
223 B
HTML
17 lines
223 B
HTML
|
<style>
|
||
|
|
||
|
div {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100px;
|
||
|
height: 100px;
|
||
|
background-color: black;
|
||
|
|
||
|
will-change: transform;
|
||
|
transform: translate(100px, 100px);
|
||
|
}
|
||
|
|
||
|
</style>
|
||
|
<div></div>
|