diff options
author | Bradley Taunt <bt@btxx.org> | 2024-07-05 16:39:27 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-07-05 16:39:27 -0400 |
commit | b3bf04932880e9f984675cff5d70da58167316cc (patch) | |
tree | db30313e5cd51988af36e480077e6456b8590b62 /posts/html-dark-mode.md | |
parent | cc72ef25c6de2b0004c163d06486d949acf3c78c (diff) |
Start converting code samples into cleaner markdown chunks
Diffstat (limited to 'posts/html-dark-mode.md')
-rw-r--r-- | posts/html-dark-mode.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/posts/html-dark-mode.md b/posts/html-dark-mode.md index 224699f..0d94def 100644 --- a/posts/html-dark-mode.md +++ b/posts/html-dark-mode.md @@ -11,9 +11,9 @@ this created by *jacksonchen666*: [These 3 Lines of CSS Will Give You Dark Mode But today I wanted to show how to add dark mode functionality to a website without *any CSS at all*. -``` +~~~sh <meta name="color-scheme" content="dark light"> -``` +~~~ Add that line inside the `head` tags on your HTML files and you're good to go. |