]> git.ardis.lu - 991337.xyz/commitdiff
Use logical properties
authorArdis Lu <ardisglu@gmail.com>
Fri, 10 Feb 2023 05:02:53 +0000 (21:02 -0800)
committerArdis Lu <ardisglu@gmail.com>
Fri, 10 Feb 2023 05:02:53 +0000 (21:02 -0800)
index.html

index 6084d50cdb74d61dc21921f796baec5c81b312e2..72224008e89f86a40c11accc783ba7523ef5b96c 100644 (file)
   <link rel="icon" href="data:,">
   <style>
     body {
-      height: 100dvh;
+      min-block-size: 100dvb;
       margin: 0;
     }
 
     canvas {
-      width: 100%;
-      height: 100%;
+      inline-size: 100%;
+      block-size: 100%;
     }
 
     div {
       position: fixed;
-      top: 1rem;
-      right: 1rem;
+      inset-block-start: 1rem;
+      inset-inline-end: 1rem;
     }
   </style>
   <title>991337.xyz</title>
This page took 0.042624 seconds and 4 git commands to generate.