![Principle app button hover state](https://kumkoniak.com/22.jpg)
![principle app button hover state principle app button hover state](https://i.pinimg.com/originals/bb/29/3e/bb293e75765781de2d2adc0443be314c.gif)
![principle app button hover state principle app button hover state](https://i5.walmartimages.com/asr/293d3ddf-6d67-40cd-b7fb-b679f75ed89e_1.d7d831d5aea3b31a912f2fafc5641622.jpeg)
At the end of this article, you’ll have created a morphing animation on a toggle button using CSS transitions. Here, you’ll learn when CSS transitions make a good choice for your project and how you can implement them to spruce up your website. Using CSS transitions in your frontend developer’s toolkit, you’ll be able to add flair and improve user experience on the web in as little as a line of code. You can use it to guide web visitors’ attention, organize information and make it easier to digest, make loading content feel snappier and more entertaining, and more. The role of web animation goes well beyond that of being a mere piece of decoration. Editor’s Note: This article was updated in September 2021 with relevant information.
![Principle app button hover state](https://kumkoniak.com/22.jpg)