Dark mode in one line of code!

  • Home / Blog / Dark mode in…

Dark mode in one line of code!


Dark Mode has become a seemingly desirable visual format for similar websites and mobile apps. Dark mode on the eyes is easy, especially for people like me who want to burn midnight oil by coding and reading lessons. Unfortunately, not all websites offer Dark Mode, so it’s up to me to fix this situation.

Although this “dark mode” is not true, you can use CSS. filter To create your own dark mood:

html {
  filter: invert(1);
}

Completely change colors 1 This light themed website will make your eyes more comfortable. It is important to understand that developers should not consider this as a long-term solution, as it is a very lazy treatment and does not lend itself well to branding.

Monitor website performance
Monitor website performance
Monitor website performance
  • LightFax: Facebook Lightbox for MooTools

    LightFax: Facebook Lightbox for MooTools

    One of the web components I’ve always liked is Facebook’s modal dialogue. This “light box” is not like the others: there is no space in the dark, no funny movement in size, and it does not try to “too much”. With Facebook’s Dialogue in mind, I’ve created LightFax: Facebook Lightbox …

  • Tips for getting started with bitcoins and cryptocurrencies

    Tips for getting started with bitcoins and cryptocurrencies

    One of the most rewarding experiences of my life, financially and logically, has been buying and handling cryptocurrencies such as Bitcoin, Litkin, Ethereum. Like any other new tech learner, I made some gruesome mistakes along the way, but learned some great ways along the way. check this out…

  • Groove-style notifications using MooTools Roar
  • Make a short preview of the video

Write a Comment

Your email address will not be published. Required fields are marked *

x