]> git.ardis.lu - sleepy-operators/commitdiff
Add table caption
authorArdis Lu <ardisglu@gmail.com>
Tue, 10 Jan 2023 03:33:44 +0000 (19:33 -0800)
committerArdis Lu <ardisglu@gmail.com>
Tue, 10 Jan 2023 03:33:44 +0000 (19:33 -0800)
index.html
style.css

index 1eb5046aecc922901f3aa7d4b37cd44868f24df2..10b6c65e6dc0bc13f086de991a8d96d14f46dffa 100644 (file)
@@ -27,6 +27,7 @@
       <p>Open the <b><abbr title="Developer Tools">DevTools</abbr> console</b> to start the demo.</p>
 
       <table>
+        <caption>Keyboard shortcuts to open the DevTools console in various operating systems and web browsers.</caption>
         <thead>
           <tr>
             <th><abbr title="Operating System">OS</abbr></th>
index ff0f5a61733d953940ce41934c0916a8fd7d8ba1..a6ecc32190a1663a40a21492721c3d4146fef142 100644 (file)
--- a/style.css
+++ b/style.css
@@ -23,6 +23,11 @@ table {
   border-collapse: collapse;
 }
 
+caption {
+  caption-side: bottom;
+  font-size: 0.9rem;
+}
+
 tr {
   transition: background-color 400ms;
 }
This page took 0.036259 seconds and 4 git commands to generate.