How can I use both transform's scale and translate method with css?
body{
transform: scale(.5);
transform: translate(-50%,0);
}
Obviously, the above css rule (the last one) overrides the previous line of rule transform: scale(.5)
and it just applies translate.
So, is there any way that I can use both for an object?
Here object means the group of divs.