/ToggleButton

This simple toggle button is designed using only HTML and CSS to switch between light and dark mode with a click.

Primary LanguageCSS

Toggle Button for Day/Night Mode This simple toggle button is designed using only HTML and CSS to switch between light and dark mode with a click.

Usage:

  • Clone or download the HTML and CSS files.
  • Open the HTML file in a web browser.
  • Click the toggle button to switch between light and night mode.

Files:

  • index.html: Contains the HTML structure for the toggle button.
  • styles.css: Defines the styles for the toggle button and its states.