Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to use calc() with Tailwind CSS

<div class="bg-red-500 w-24 h-[calc(100vh-36px)]"></div>
<div class="bg-red-500 w-24 h-[calc(100vh_-_36px)]"></div>
Source by benborgers.com #
 
PREVIOUS NEXT
Tagged: #How #Tailwind #CSS
ADD COMMENT
Topic
Name
1+3 =