Build Responsive website with Tailwind CSS in 10 mins

Photo by Melvin Thambi on Unsplash

In this post, we are going to quickly build a responsive tailwind site, using awesome ready to use tailwind components.

Now, create a basic html structure in VS Code using the shortcut ! and press tab. After that we are adding the tailwind css CDN link, which we have got from tailwind site.

Tailwind Block

We are going to get ready made blocks for our site, from the awesome site Tailwind blocks. The link for it is

Now, there are different sections in the site and we will create the header first. So, scroll down a bit and choose the first header. I have chosen the yellow color, but any other color can be selected.


Clicking on the View Code, will give you the code which you need to put in the index.html, inside the body tag.

After, putting the header code, our site looks like below. I have also noticed that it is dark and the reason is that i have choose dark theme in Tailwind Block site.


Now, we will do a bit of customization in the header, by changing the color of the button and the content of the links.

Header links

Now, we will create the Hero image part. So, go to the Hero section and choose the first one. We need to click on View Code and then COPY TO CLIPBOARD link.

Copy To Clipboard

We need to paste it below our header section, but the main thing is the image. Now, i got the vector image from site and also removed it’s background from

After that created a new images folder in our project and put the image in it.


Now, our site looks like below.

Current site

Now, we will create the About Us section. For this go to the CONTENT section and choose the second one and View Code and Copy to Clipboard as usual.


We have pasted this code after the earlier section. Again in this section, we have four images, so got those vector images and removed background and uploaded it to images folder.

About Us

Now, our About Us section looks like below.

About Us

Now, we will add our pricing section.


We have just changed the header text in the pricing and our Pricing section is also looking good.


Now, we will add the Our Team section. For this go to the Testimonial, in the tailblock site and choose the third one.


Now, this code didn’t had any header so i created one. For image of user, i have taken from the random user site. We can choose any images from


Now, the Our Team section looks like below.

Our Team

Now, we will create our Contact Us section. For this go to the Contact, in the tailblock site and choose the third one.


We only need to do a small change in the code and make the Us in Contact as Yellow. Also, notice that the Contact Us section also contains a small footer, which looks awesome and minimalist.

Contact Us

This completes our site. The code for the same can be taken from this github link.

Site done



Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store