Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Tailwind CSS Layout Complete Reference

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Tailwind CSS is basically a utility first CSS framework for rapid custom UI. it is a highly customizable, low-level CSS framework that gives you all of the buildings blocks that you need. As we know there are many CSS frameworks but people always choose the fast and easy framework to learn and use in the project. we can make the layout of a very quickly nice page using Tailwind CSS layout.

Below example will give you a brief idea about the Layout of Tailwind CSS:

Example:

HTML




<!DOCTYPE html>
<head>    
    <link href=
"https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css"
        rel="stylesheet">
</head>
  
<body class="text-center">
<center>
    <h1 class="text-green-600 text-5xl font-bold">
        GeeksforGeeks
    </h1>
    <b>Tailwind CSS float Class</b>
    <div class="mx-10">
    <img class="float-right p-2"
        src=
    <p class="text-justify ">
      How many times were you frustrated while looking out
      for a good collection of programming/algorithm/interview
      questions? What did you expect and what did you get?
      This portal has been created to provide well written,
      well thought and well explained solutions for selected
      questions. An IIT Roorkee alumnus and founder of
      GeeksforGeeks. He loves to solve programming problems
      in most efficient ways. Apart from GeeksforGeeks, he
      has worked with DE Shaw and Co. as a software developer
      and JIIT Noida as an assistant professor.It is a good
      platform to learn programming. It is an educational
      website. Prepare for the Recruitment drive of product
      based companies like Microsoft, Amazon, Adobe etc with
      a free online placement preparation course.</p>
    </div>
  
</center>
</body>
  
</html>

Output:

Tailwind CSS Layout

Tailwind CSS Layout 


My Personal Notes arrow_drop_up
Last Updated : 28 Mar, 2022
Like Article
Save Article
Similar Reads
Related Tutorials