Search
 
SCRIPT & CODE EXAMPLE
 

HTML

dark mode favicon

/* HTML */
<link rel="icon" href="/favicon.svg" type="image/svg+xml">

/* SVG image */
<svg width="50" height="50" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
  <style>
    rect {
      fill: green;
    }
    @media (prefers-color-scheme: dark) {
      rect {
        fill: red;
      }
    }
  </style>
  <rect width="50" height="50" rx="5"/>
</svg>
Comment

PREVIOUS NEXT
Code Example
Html :: open link as a number 
Html :: pop up message on button click in html 
Html :: summernote 
Html :: coreui primary color 
Html :: placeholder textbox wpf 
Html :: yellow html 
Html :: alert tailwind css 
Html :: bootstrap 5 accordion 
Html :: h4 in html 
Html :: row span 
Html :: onclick on anchor tag 
Html :: Link to chat in telegram 
Html :: unable to resolve dependency tree react html email 
Html :: align div in html 
Html :: a new tab attribute 
Html :: html if screen is smaller thatn 
Html :: block level elements 
Html :: html comment tag 
Html :: button not clickable html 
Html :: link in md 
Html :: edit button html 
Html :: html scale svg 
Html :: year dropdown in html 
Html :: visual studio code html template shortcut 
Html :: form.html 
Html :: how to use p in html 
Html :: bootstrap 4.5.3 
Html :: when do i put my script in the body tags in html 
Html :: blobs fish 
Html :: variables in url_for flask jinja 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =