.textbox {
border: 3px solid #FFEFD5;
width: 300px;
padding: 10px;
outline: none;
transition: 0.5s;
}
.textbox:focus {
border: 3px solid #CD853F;
}
<form>
<input type="text" id="email" name="email" value="Click Here!">
</form>
I noticed that removing the 'outline' property prevents the transition effect from working correctly. Could someone explain why this happens? Your insights are greatly appreciated. Thank you.