Skip to content

Operations with calc on CSS properties #5216

Discussion options

You must be logged in to vote

Why not? I recently used calc to change modal size
example

<ModalContent
  maxW="calc(100vw - 50px)"
  minH="calc(100vh - 25px)"
  my="auto"
>

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Shaad-Industries
Comment options

Answer selected by segunadebayo
Comment options

You must be logged in to vote
2 replies
@tannerbaum
Comment options

@sheryarshirazi
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants