Design comparison
SolutionDesign
Solution retrospective
Does anybody know why It seems like you can't add two variables with the calc() function ?
Community feedback
- @Meraj-Sharif-KhanPosted over 1 year ago
Adding variables with the calc() function
--padding-vertical: 5rem; .block{ padding-bottom: calc(var(--padding-vertical) + 4rem); }
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord