mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
By doing so, we attenuate the perspective transform on higher resolution devices such as Retina displays (2x). This fixes the perspective transform on sites such as https://poke-holo.simey.me/.
12 lines
227 B
HTML
12 lines
227 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
body { margin: 0; }
|
|
.child {
|
|
width: 200px;
|
|
height: 200px;
|
|
background: blue;
|
|
transform: perspective(500px) rotateY(45deg);
|
|
}
|
|
</style>
|
|
<div class="child"></div>
|