Oussama Benhammou Oussama Benhammou - 8 months ago 106
Less Question

Less css &:hover

How can I create this class with less?

.class {
display: none;
}

a:hover .class {
display: block;
}

Answer Source

Like this?

.class {
    display: none;

    a:hover & {
        display: block;
    }
}
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download