🤯 The Easiest Way to Switch Between Light and Dark Mode in CSS
Автор: KodeXn
Загружено: 2023-10-20
Просмотров: 103
Описание:
With the new light-dark() function, you can now easily switch between light and dark mode colors in your CSS.
This is a huge step forward for accessibility and user experience, and it's going to make it much easier for developers to create beautiful and responsive websites.
How does it work?
The light-dark() function takes two color values as arguments. Based on the user's preferred color scheme, the function will return the first or second argument.
Browser support
The light-dark() function is currently supported in Firefox 120 and later. Support for other browsers is coming soon.
Spread the word!
We're excited about the potential of light-dark() to make the web a more accessible and enjoyable place. To help spread the word, please share this post with your friends and colleagues.
What's your opinion on it? Comment below. 👇
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: