]> git.za3k.com Git - za3k.git/commitdiff
mobile friendliness
authorZachary Vance <za3k@za3k.com>
Sat, 22 Jul 2023 01:44:45 +0000 (21:44 -0400)
committerZachary Vance <za3k@za3k.com>
Sat, 22 Jul 2023 01:44:45 +0000 (21:44 -0400)
html-css-cheatsheet.html

index 4b38a9e641c33cb585a5202f421fe09a10badc75..b436e0246b124a8783712b424caa3e054eb484cd 100644 (file)
@@ -4,14 +4,17 @@
 <head>
     <meta charset="utf-8">
     <title>HTML and CSS cheatsheet</title>
+    <meta content="width=device-width, initial-scale=1" name="viewport">
     <style>
         div {
             box-sizing: border-box;
         }
-        .cheatsheet {
-            columns: auto;
-            column-width: 20em;
-            column-gap: 1em;
+        @media (min-width: 800px){
+            .cheatsheet {
+                columns: auto;
+                column-width: 20em;
+                column-gap: 1em;
+            }
         }
         .cheatsheet div.demo~pre {
             margin-top: 0;