DEV Community

Discussion on: Dark mode toggle animation using CSS !

Collapse
murtuzaalisurti profile image
murtuza Author

I intentionally did the toggling because I wanted to create separate classes because of the transform property. The transform property is explicitly stated for the initial position.