Writing some code using Sass I found this:
input[type="text"]:focus {
border: 3px solid #AFDDFB;
transition: 100ms linear;
}
But I need to cover other types of Input, like this:
input[type="text"]:focus, input[type="password"]:focus,
input[type="email"]:focus {
border: 3px solid #AFDDFB;
transition: 100ms linear;
}
I need a way to streamline my writing in sass, I would like something like:
input[text, password, email]:focus {
//Dadada
}
Is there any way to do something similar using Sass?