~bfiedler/website

f627bf990117df0fedc3faa4efaf2a7ad0df8354 — Ben Fiedler 3 months ago 0cc679f
Improve CSS formatting on mobile
1 files changed, 2 insertions(+), 1 deletions(-)

M content/blog/css-prefers-color-scheme.md
M content/blog/css-prefers-color-scheme.md => content/blog/css-prefers-color-scheme.md +2 -1
@@ 34,8 34,9 @@ Using this feature is as simple as adding a media query to your styling. Using
you need to do is define the appropriate colors and you're good to go. 

```css
@media (prefers-color-scheme: light) { // the default if no preference set
@media (prefers-color-scheme: light) {
    // light styling
    // the default if no preference set
}

@media (prefers-color-scheme: dark) {