How i can apply margin to a modal in tailwindcss?.

Answer

We are using code to set margin for a modal of talwind. 

 

<body class="h-screen w-screen">
<header class="w-screen fixed z-10 flex justify-between pt-4 px-5">
<div class="logo">
<svg >
</svg>
</div>
<i class="menu-icon cursor-pointer">
<svg>
</svg>
</i>
<div class=""show absolute top-0 left-0 w-full px-5>
<nav
class="
show
flex flex-col
items-center
justify-center
w-full
py-7
bg-white
gap-4
rounded
"
id="menu"
>
<!-- nav content -->
</nav>
</div>

 

All tailwind Questions

Ask your interview questions on tailwind

Write Your comment or Questions if you want the answers on tailwind from tailwind Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---