]> git.za3k.com Git - za3k.git/commitdiff
Copy right
authorZachary Vance <za3k@za3k.com>
Fri, 18 Apr 2025 23:21:29 +0000 (19:21 -0400)
committerZachary Vance <za3k@za3k.com>
Fri, 18 Apr 2025 23:21:29 +0000 (19:21 -0400)
html-css-cheatsheet.html

index 9aae61efd78af0ba88e567d846eabdbc6daf729d..478c040da77ec1ce429ea895f040043c96d533f7 100644 (file)
         .cheatsheet div.demo~pre {
             margin-top: 0;
         }
+        .cheatsheet pre {
+            white-space: pre-wrap;
+            overflow-wrap: break-word;
+        }
         .cheatsheet > div {
             border: 1px solid lightgray;
             border-radius: 20px;
 &lt;/head&gt;
 &lt;p&gt;Hello World&lt;/p&gt;
 &lt;script&gt;$("p").css("color", "yellow");&lt;/script&gt;
-&lt;script src="https://ajax.googleapis.com/ajax/libs
-  /jquery/3.7.1/jquery.min.js"&gt;&lt;/script&gt;
+&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"&gt;&lt;/script&gt;
 </code></pre>
 
     JS is executed immediately. If your JS is included at the top of a file, delay it until document load:<ul>