functionality: having the properties set on another element being set on the current element(s) as if it was that element.
root {
elementA {
background: black;
#alias @this as elementB;
//which is equivalent to
#alias as elementB;
}
elementB {
alignX: right;
etc.
}
}
//which is equivalent to
@container test {
#alias @this as elementB;
}
root {
elementA {
background: black;
//this transfers all the properties set on elementB to elementA
isA: test;
}
elementB {
alignX: right;
etc.
}
}
functionality: having the properties set on another element being set on the current element(s) as if it was that element.
alternative