Flag 1

by Alexus fox

HTML

<div id="flag-container">

  <div id="col-left"></div>
  
  <div id="col-right">
  
    <div id="col-right-top">
       <img id="star-top" src=""/>
       
       <div id= "col-right-top-right">
       
       </div>
    </div>
    
    <div id="col-right-bottom">

       
        <div id= "col-right-bottom-right">
  
    </div>
    
  </div>
  
</div>

CSS

/* Box-sizing */

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
}

#flag-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: navy;
}

#col-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: maroon;
}

#col-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: navy;
}

#col-right-top {
  position: absolute;
  top: 0;
  left: 0;
  height: 35%;
  width: 100%;
  background: navy;
}


#col-right-top-right {
  position: absolute;
 top: 0;
 right: 0;
  height: 100%;
  width: 35%;
  background: #ffd900;
}

#col-right-bottom-right {
  position: absolute;
 bottom: 0;
 right: 0;
  height: 100%;
  width: 35%;
  background: #ffd900;
}
#col-right-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 35%;
  width: 100%;
  background: navy;
}

#star-top {
  width: 100%;
  height: 100%
}

#star-bottom {
  width: 100%;
  height: 100%
}