aboutsummaryrefslogtreecommitdiff
path: root/posts
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-03 09:58:10 -0400
committerBradley Taunt <bt@btxx.org>2024-07-03 09:58:10 -0400
commitc15093ff7e53de9b48d7805d9ea4dd87c052f651 (patch)
tree8d658524dfbfdb271a2c14d26c13af65a29fe656 /posts
parent612d4cc0bb2c95b414607d206dd16ad3471cf270 (diff)
Swap out lowdown for standard markdown for more flexibility
Diffstat (limited to 'posts')
-rw-r--r--posts/Please_Make_Your_Table_Headings_Sticky.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/posts/Please_Make_Your_Table_Headings_Sticky.md b/posts/Please_Make_Your_Table_Headings_Sticky.md
index 249066a..239c94d 100644
--- a/posts/Please_Make_Your_Table_Headings_Sticky.md
+++ b/posts/Please_Make_Your_Table_Headings_Sticky.md
@@ -4,7 +4,10 @@
I often stumble upon large data sets or table layouts across the web. When these tables contain hundreds of rows of content, things become problematic once you start to scroll...
-[Click here to see standard table headers video](/public/videos/not-fixed-header-tables.mp4)
+<video width="100%" controls="">
+ <source src="/public/videos/not-fixed-header-tables.mp4" type="video/mp4">
+Your browser does not support the video tag.
+</video>
<h2>This should be a header</h2>
@@ -14,7 +17,10 @@ Look at that table header disappear! Now, if I scroll all the way down to item #
Check it out:
-[Click here to see "fixed" table headers video](/public/videos/fixed-header-tables.mp4)
+<video width="100%" controls="">
+ <source src="/public/videos/fixed-header-tables.mp4" type="video/mp4">
+Your browser does not support the video tag.
+</video>
Pretty awesome, right? It might look like magic but it's actually very easy to implement. You only need to add 2 CSS properties on your `thead`: