So I have the following CSS:
div {
transform: translate(10, 10);
}
div.active {
transform: scale(1.1);
}
The problem is that a div.active
doesn't translate
and only scale
s.
Ain't there a CSS-only (with JS I know I can) way to write something like:
div.active {
transform: inherit scale(1.1);
}
?
Is this some kind of CSS3 design issue?