Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumCSStransitions and easingSingle-choice MCQ

A button has 'transition: background 0.3s' and 'background: blue' set on the base rule, with ':hover { background: red }'. When the pointer leaves, what governs the fade back to blue?

.btn { background: blue; transition: background 0.3s; } .btn:hover { background: red; }