CSS quick dark theme/mode
Last update
2020-08-07
2020-08-07
« — »
1 2 3 4 | html[theme='dark-mode'] img{ filter: invert(100%) hue-rotate(180deg); transition: color 300ms, background-color 300ms; /* smooth transition */ } |
Source: dev.to