HTML/CSS grid layout with different size boxes? -


I am trying to create a layout in HTML / CSS (as is illustrated).

I have tried using Divs and ul / li but stacking is not working.

Can anyone tell me in the right direction?

required layout

You can use table tags and Colspan / rowspan attributes, however, this is a very old solution. The best thing you can do is, Brad Werth has been suggested using the bootstrap.

  • For a horizontal rectangle
  • for a vertical rectangle
  • You can assign each div to its related class Should be made with Remember that you have to play with the display feature to achieve your goal.


    Comments

    Popular posts from this blog

    java - org.apache.http.ProtocolException: Target host is not specified -

    java - Gradle dependencies: compile project by relative path -

    ruby on rails - Object doesn't support #inspect when used with .include -