Home » Power switch on off using CSS and HTML

Power switch on off using CSS and HTML

  • by

Hello Coders, today I will show you the power button on-off design using CSS, which button you use on your everyday life. I will show you with CSS in a very simple manner which any can understand very easily.

Here is the code below,


Here is the main part of the design which is a CSS file.


You can create your own from copying this code and paste your favourite code editor and save you can look like this on below.

Happy Coding..!

Subscribe For Latest Updates

Sign up to best of PHP Code Solutions, informed analysis and opinions on what matters to you.
Invalid email address
We promise not to spam you. You can unsubscribe at any time.

Leave a Reply

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