Last active
February 9, 2023 16:22
-
-
Save ayaysir/5984d46e32f34abf55a7064949cc935a to your computer and use it in GitHub Desktop.
다크 모드에서 모든 요소를 색상 반전시키기
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (prefers-color-scheme: dark) { | |
* { | |
color-scheme: light dark; | |
filter: invert(0%); | |
-webkit-filter: invert(0%) | |
} | |
img { | |
-webkit-filter: invert(1); | |
filter: invert(1); | |
} | |
hr { | |
border-color: #171717; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment