The div tag characterizes a division or an area in a HTML record. The div component is frequently utilized as a container for other HTML components to style them with CSS or to play out specific assignments with JavaScript. We frequently observe different sites with different plans of their formats. Designs assumes a crucial job in making the site look great. On the off chance that the site has flawless format, at that point the vibes of the site looks simply incredible. In this way, here we talk about different Responsive Layout Examples. We as a whole realize that what does responsive methods. Responsive implies that the plan works in each gadget freely. So, in this article we will discuss how to make a responsive div layout of different height and width using HTML and CSS.

So also, we as a whole have thought regarding the word Layout. Format just alludes to the plan or the course of action of the page by isolating the entire page into various pieces and various sizes. We can basically partition the page into equal parts or three parts or in any capacity we like.

Responsive plan” alludes to the possibility that your site should display similarly well in everything from widescreen screens to cell phones. It’s a way to deal with website architecture and advancement that kills the differentiation between the versatile neighborly form of your site and its work area partner. With responsive plan, they’re something very similar.

Responsive structure is cultivated through CSS “media queries”. Consider media queries as an approach to restrictively apply CSS rules. They also tell the program that it ought to disregard or apply certain principles relying upon the client’s gadget.

Collection of Responsive Div CSS Layout Examples with Source Code

So lets discuss about some of those layout examples in brief.


Lets get started!

1. CSS Inner Div Responsive Layout

In the first, we will figure out how to make an Inner DIV focus inside Outer DIV. For the most part an Inner Div can’t be focus inside Outer Div however utilizing couple of parameters we can make it focus. An external div is a div that wraps some other HTML components.

The codes are also very little and easy to use. As the name implies, the layout is responsive as well. Also the height and width of the responsive div layout fits well.

inner outer responsive div CSS


2. Responsive Div Table Layout with HTML and CSS

On the off chance that you need the pieces of information in your table look oversaw and clean, at that point you can duplicate this idea. A legitimate shading blend alongside the header can be seen.

Various headers are applied for various pieces of information which makes it simple for the clients to separate about the individual information.

Simply include the base class .table to any , at that point stretch out with custom styles or our different included modifier classes. You can likewise reverse the hues with light text on dark foundations—with .table-dark.

table layout responsive div CSS


3. Responsive Slanted Div height width with CSS

It’s constantly a joy to see some non-straight components in website composition. Calculated shapes and inclined lines can make a fascinating visual stream and include some surprising fervor.

The designer has added some slanted shape to the parts of the bargains utilizing :before. The clients also have the space to include their preferred logo and the substance.

slanted responsive div CSS

As the layout is responsive, you can also get the same design in other devices as well.


4. CSS Only 3 Column Responsive Layout

The designer has given a three column responsive layout in this design. The @media screen and (max-width: 980px) in the CSS code lets the design to get the responsive effect.

There are 3 column classes in the HTML content which then is styled with the CSS. The footer can also be seen in the design.

3 column responsive div CSS


5. Fluid Grid Blocks Responsive CSS Layout

A fluid grid design gives a visual method to make various formats comparing to gadgets on which the site is shown. For instance, your site will be seen on work areas, tablets, and cell phones. You can utilize fluid grid formats to determine designs for every one of these gadgets.

The designer has also utilized a similar idea in this structure. There are three sections of the content area in the plan.

fluid grid blocks responsive div CSS


6. 4 Boxes Layout Using CSS Grid Responsive

Here the designer has utilized a grid organization to grandstand 4 diverse boxes in 4 distinctive segment. He has utilized various hues for various boxes. The plan is responsive also.

he @media screen and (max-width: 1024px) is also utilized for the responsiveness of the structure.

This implies when the screen is under 1024px wide, make the three sections stack over one another rather than by one another

4 boxes responsive div CSS


7. Centering Two Responsive Div height width Side by Side HTML CSS

With CSS properties, you can without much of a stretch put two <div> next to each another in HTML. The designer has utilized various properties in the .left-div and .right-div to cause this accomplishment to achieve. What the designer has done is utilize div’s to show inline-block components.

Rest of the properties are for the height width and hues. You can also check the source code from the beneath and use it for free.

centering two responsive div CSS


8. Responsive Bootstrap Columns and Rows

The Bootstrap Grid System is utilized for design, explicitly Responsive Layouts. Seeing how it functions is fundamental to getting Bootstrap. The Grid is comprised of groupings of Rows and Columns inside at least 1 Containers.

The designer has given 5 unique plans to demonstrate the section models.

To understand, <div class=”col-xs-12″> is used to display a single column. Whereas <div class=”col-xs-12 col-sm-9″> and < <div class=”col-xs-12 col-sm-3″> displays 2 column.

bootstrap responsive div CSS

You can check the source codes from the link below.


9. Responsive Grids Layout Div with CSS and HTML

The responsive grid design adjusts to screen size and direction, guaranteeing consistency crosswise over formats. The designer has encircled the substance in a grid position.

The @supports (display: grid) { is utilized for the grid framework. That as well as the images extends a little on drift.

grid layout responsive div CSS


10. Responsive Grid with Flexbox Examples

Utilizing flexbox, we can without much of a stretch make a responsive grid format. Here grid-things are wrapped with one column and one container. The container CSS sets the all out max-width. Utilizing display: flex, our grid-push stretches to the full size of the container.

We use flex-flow: wrap to assign that child divs (our segments/grid-things) should wrap in the event that they surpass the width of the column.

Responsive Grid with Flexbox Examples


11. Responsive Full Screen Background Layout

For this the CSS background-size property can have the estimation of cover. The cover worth advises the program to consequently and relatively scale the background image’s width and stature with the goal that they are constantly equivalent to, or more noteworthy than, the viewport’s width/tallness.

The plan isn’t completely responsive yet. Utilize a media query to serve a littler background image for cell phones

Responsive Full Screen Background Layout


12. HTML CSS Responsive Div Table Layout

The most well known approach to display a gathering of comparative information is to utilize tables, yet HTML tables have the downside of being hard to make responsive.

In this concept, the developer use CSS Grid Layout Module and CSS Properties (and no Javascript) to format tables that wrap sections relying upon screen width, which further changes to a card dependent on design for little screens.

CSS Responsive Div Table Layout


13. Responsive Two Column Layout

A cutting edge method for making two sections, is to utilize CSS Flexbox. Be that as it may, it isn’t bolstered in Internet Explorer 10 and prior adaptations. The format has 2 sections, a header, a route menu, a substance territory and sidebar and footer.

The developer has utilized media queries for both left and right section. Also the height and width of the responsive div layout fits well.

In this way, on the off chance that you resize your program, the components should scale and reposition likewise.

Two Column Layout


14. Responsive Layout with Flexbox

As the name suggests responsive, the plan isn’t completely responsive. Yet, you can join flexbox with media queries to make a format that reacts to various sized screens.

Media inquiries are generally in responsive structures so as to display an alternate design to various gadgets, contingent upon their screen size.

Responsive Layout with Flexbox


15. Responsive Website Layout CSS and JavaScript

Responsive website architecture makes your page look great on all gadgets. The designer has utilized CSS and JS to make the site format. It is called responsive website composition when you use CSS to resize, cover up, contract, amplify, or move the substance to make it look great on any screen.

The designer has imported the textual styles from google apis. Here you get an appropriately overseen website design. It isn’t completely practical however you can get it going too.

Everything beginning with the header, side-bar, footer, primary area can be seen.

Website Layout CSS and JavaScript

You can likewise include your preferred logo. With some more changes to the code, you can also make this completely responsive.


16. Change Div Order for Responsive Elements

The Flexible Box Module, normally alluded to as flexbox, was structured as a one-dimensional format model, and as a technique that could offer space appropriation between things in an interface and ground-breaking arrangement abilities.

The designer has utilized two of them over the other one. The designer has introduced two classes which is then style at the CSS codes. The flex container also ends up flexible by setting the display property to flex.

Change Order for Elements


17. Responsive Masonry CSS Only

Onto a genuinely captivating responsive grid planned simply like a conventional brick work format. Include images any place you need, set the statures anyway you need, this format will alter in like manner.

Also the whole thing keeps running on CSS and it utilizes properties like section tally to set the brick work format for portable.

I discover JS somewhat more dominant however this is a fantastic responsive format for just HTML and CSS. Also the height and width of the responsive div layout fits well.

 Masonry CSS Only


18. HTML Responsive Fullscreen DIV

The thought was that the DIVs have a 100% width and a minmum tallness of 100% too. In case, that the substance is longer, at that point the DIV stature will adjust to over 100%.

So simply play around with your programs window width and stature and perceive how the containers carry on.

You’ll additionally see the plan is truly smooth and the CSS classes leave a lot of space for customization.

 Fullscreen DIVs


19. HTML Responsive Multiple Full-Page DIV Pure CSS

This is same as the past one. Each page will fill the whole window (responsively). The designer has achieved the structure with unadulterated CSS. And furthermore With a special reward of focused substance!

It handles custom format structures to improve your substance in like manner. It’s a long way from the best device, however it gives you way more authority over your design.

In addition you don’t have to know a ton about frontend coding to work with this library. Also appears to be really fantastic for developers who simply need to get a Responsive Multiple Full-Page format online quick.

Multiple Full-Page DIV Pure CSS



To summarize, the div tag characterizes a division or an area in a HTML report. The component utilizes as a container for other HTML components to style them with CSS or to play out specific undertakings with JavaScript. The HTML Content Division component div is the conventional container for stream content. It has no impact on the substance or design until styled utilizing CSS.

So we began this section by finding out about what div really is. At that point, we proceeded to examine how media queries are required in the css code to construct tablet and work area designs over a common arrangement of base styles. At that point we talked about some stunning case of Responsive div formats.

Thus, that was the simple piece of responsive Div format structure of different height and width. In the following section, we’ll discover the critical step and some a greater amount of the designs utilizing HTML5, CSS3, Jquery and Bootstrap also.

Pin It on Pinterest