Mixin for CSS hover detection?
oscarstranger opened this issue · 0 comments
oscarstranger commented
Using new media queries
// Hover detection
@mixin hover() {
@media (hover: hover) {
@content;
}
}
@mixin no-hover() {
@media (hover: none) {
@content;
}
}