i trying to build this layout with tailwind css but i can't figure out
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/dist/output.css" />
<title>Document</title>
</head>
<body
>
<nav >nav</nav>
<menu >Menu</menu>
<section >Inbox</section>
<main >Email view</main>
<aside >Additional info</aside>
</body>
</html>
CodePudding user response:
To achieve this, you can mix the grid and flex systems. For the grid you can adjust the individual column widths in the config. i have taken 25/50/25.
https://play.tailwindcss.com/WqVvubeWsT
CodePudding user response:
yo can do it this way to
grid-cols-[80px_400px_1fr_250px]
just need add (_) between ich size
