|
<style>
|
|
|
|
div {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: black;
|
|
|
|
will-change: rotate;
|
|
rotate: 180deg;
|
|
}
|
|
|
|
div::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 50%;
|
|
background-color: gray;
|
|
}
|
|
|
|
</style>
|
|
<div></div>
|