control::before in tailwind css dark mode code example
Example: tailwind css dark mode
<div class="bg-white dark:bg-gray-800">
<h1 class="text-gray-900 dark:text-white">Dark Mode!!</h1>
<p class="text-gray-600 dark:text-gray-300">
Example Text
</p>
</div>
/* NOT MINE THO Dislike if not working i'll remove*/
/* tailwind.config.js (JAVASCRIPT FILE)*/
module.exports = {
darkMode: 'media',
}