Need Complex Layout

Should not be too hard. There may be complications based on headers/navigation, or other wrapper type divs you have in your markup, but this snippet gives the general idea.

Try resizing, should be responsive.

div {
  background-color: lightblue;
  margin-top: 20px;
  margin-bottom: 20px;
  min-height: 80px;
}

.full-center {
  margin-left: 10%;
  margin-right: 10%;
}

.full-right {
  margin-left: 10%;
}
<div class="full-center"></div>
<div class="full-right"></div>

Leave a Comment