Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

1 line darkmode css

html, img, pre {
  filter: invert(0.96) hue-rotate(180deg);
}

/* add more selectors make them into dark mode if reversed / doesn't apply eg iframe etc */
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #line #darkmode #css
ADD COMMENT
Topic
Name
7+7 =