Skip to content
Home » Power switch on off using CSS and HTML

Power switch on off using CSS and HTML

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..!

Was this article helpful?

Leave a Reply

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