Answers for "focus um elemento altera outro css"

CSS
0

focus um elemento altera outro css

label {
    display: block;
    padding: 20px;
}

.grupo-input span {
    transition: margin-top .5s;
    margin-top: 0px;
    display: block;
}

.grupo-input input:hover + span {
    margin-top: -40px;
}
Posted by: Guest on June-03-2020

Browse Popular Code Answers by Language