DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
css dark mode
@media
(
prefers-color-scheme
:
dark
)
{
body
{
background-color
:
black
;
color
:
white
;
}
}
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#css
#dark
#mode
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit