Join the Webstudio community

Updated 3 months ago

Add Calculate Fonction

At a glance

The post discusses an example use of cal(100% - 40px) for the container width and adding a function(x) in the menu width and other areas. The comments from community members suggest adding a "Calculate" function, deleting the semicolon, and correcting the syntax from cal to calc. Some community members also inquire about the possibility of adding this functionality for margin and padding. However, there is no explicitly marked answer in the provided information.

Example use : For Container
width:cal(100% - 40px);

Add function(x) in menu widht and other
Attachments
image.png
image.png
1
X
S
O
10 comments
Add Calculate fonction
Would love to see this !! I was sorely missing it when I tested the tool.
this works, delete the semicolon
Attachment
image.png
My apologies πŸ˜‚ Thank you for your responsiveness
It's possible add this for Margin and Padding @Oleg Isonen ?
Add Calculate Fonction
oh my bad ! 🀣 Thank you !
Add a reply
Sign up and join the conversation on Discord