Can you help me convert this style into LESS?
nav a:hover,
nav a:focus,
footer a:hover,
footer a:focus,
.fullscreen-container a:hover,
.fullscreen-container a:focus {
text-decoration: none;
}
Here's my solution:
.text-decoration-none () {
text-decoration: none;
}
nav a {
&:focus,
&:focus {
.text-decoration-none ();
}
}
footer a {
&:focus,
&:focus {
.text-decoration-none ();
}
}
.fullscreen-container a {
&:focus,
&:focus {
.text-decoration-none ();
}
}
Current output:
nav a:focus,
nav a:focus {
text-decoration: none;
}
footer a:focus,
footer a:focus {
text-decoration: none;
}
.fullscreen-container a:focus,
.fullscreen-container a:focus {
text-decoration: none;
}
Desired result:
nav a:hover,
nav a:focus,
footer a:hover,
footer a:focus,
.fullscreen-container a:hover,
.fullscreen-container a:focus {
text-decoration: none;
}
Do you have any suggestions?