Kosmetika Kosmetika - 1 year ago 101
CSS Question

Stylus - selectors that are near: "+" operator

Unfortunately I cannot get this working in Stylus:

.class1 + .class2
background: red

It doesn't catch this styles for element. Maybe I'm not aware of syntax?

Answer Source

You can use css literals

 @css {
   .class1 + .class2
    background: red
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download