DEV Community

loading...

Discussion on: A reusable dark mode with Reactjs and pure CSS

Collapse
ericspipb profile image
Eric Chan

any great way inheritance the transition in CSS avoid many duplicates?

Collapse
rogeliosamuel621 profile image
rogeliosamuel621 Author

I haven't thought of a good one, but you can try with the inherit value in transition property