You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love to know if it's possible to use transform: scale(...) or transform: scale(...) when using insert_htmlbox(css='')?
I've been trying to apply it both as a par of CSS (e.g.
body {
transform: scale(0.5);
transform-origin: left top;
}
), and as a part of text (text='<div style="transform: scale(0.5); transform-origin: left top;">' + text + '</div>'), but neither of them worked.
My main aim is to scale the whole HTML box, including text (font size e.g.) and box size.
I wonder if it's even possible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello Jorj!
I would love to know if it's possible to use
transform: scale(...)
ortransform: scale(...)
when usinginsert_htmlbox(css='')
?I've been trying to apply it both as a par of CSS (e.g.
), and as a part of text (
text='<div style="transform: scale(0.5); transform-origin: left top;">' + text + '</div>'
), but neither of them worked.My main aim is to scale the whole HTML box, including text (font size e.g.) and box size.
I wonder if it's even possible?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions