cloudhead/less.js — Issue #543: Change CSS based on a CSS event or linked css item
Author: sathish4000
Created: 2012-01-03 20:54:46+00:00
State: open

Lets say I have the following:

.a {
color:gray;
}

.b {
color: yellow;
}

i want to change .b when .a:hover happens so more like .a:hover => .b

.a:hover => .b {
color: red;
}

can you write something in less to do that, so that I dont have to have javascript every where to do it?