html - Slants cross over responsive -


is there anyway create similar attached html/css, works responsive? without using image?

unable oragne border & content added in css

.left {    border-bottom: 70px solid #3488b1;   border-right: 1000px solid transparent;   height: 0;   position: absolute;   bottom:0;  width: 1px;  opacity:.5;  } .right {   border-bottom: 70px solid #3488b1;   border-left: 1000px solid transparent;   height: 0;  width: 1px;  position: absolute;  bottom:0; }   .footer {height:100px;} 

& html

<div class="footer"> <span class="left"> </span> <span class="right"></span> </div> 

is there anyway create similar attached html/css

one way use transforms.

html, body {      height:100%;      width:100%;  }  #responsive {      position:relative;      height:25%;      width:80%;      overflow:hidden;      min-height: 80px;  }  #trione {      position:absolute;      background-color:aqua;      height:300%;      width:300%;      transform: rotate(10deg);      top:55%;      left:-100%;  }  #tritwo {      position:absolute;      background-color:blue;      height:300%;      width:300%;      border: 5px solid orange;      transform: rotate(-10deg);      top:45%;      right:-100%;  }  #content {      position:absolute;      right:10px;      bottom:10px;      color:white;  }
<div id="responsive">      <div id="trione"></div>      <div id="tritwo"></div>      <div id="content">content</div>  </div>

it's not responsive, think few tweaks should able way want it.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -