I have these simply css rules:
.background {background-image : url(pics/bg.png)} .background.one {background-position: -10px -10px} .background.two {background-position: -20px -20px} I'm trying to figure how define a new css rule (ie .newRule) that subtracts 10px on both position-x and position-y using Less.
So if I use class="background one newRule" the compiled css rule will be:
{ background-image : url(pics/bg.png); background-position: -20px -20px }