]> git.ardis.lu - 991337.xyz/commitdiff
Use dvh instead of vh
authorArdis Lu <ardisglu@gmail.com>
Thu, 15 Dec 2022 05:15:04 +0000 (21:15 -0800)
committerArdis Lu <ardisglu@gmail.com>
Thu, 15 Dec 2022 05:15:04 +0000 (21:15 -0800)
Better mobile experience and it's now supported on all modern browsers

index.html

index 9c9be6a62e58b4d0eae0e052b08ce90df446a3a2..bd59b57ce7d0cd170bb0630998420b6276c8877d 100644 (file)
@@ -12,7 +12,7 @@
   <link rel="icon" href="data:,">
   <style>
     body {
-      height: 100vh;
+      height: 100dvh;
       margin: 0;
     }
 
This page took 0.041222 seconds and 4 git commands to generate.