html - Double background -
i trying achieve similar display highlighted part in picture yellow , black background. 3 boxes displaying half in yellow , half in black bg.
can me deal in css bootstrap.
thanks in advance.
the 3 boxes positioned absolutely on background image. see this-
#bgbox { background-color: black; border-left: 50px solid yellow; width:50px; height:100px; } #top { position:absolute; top:40px; left:40px; width:30px; height:30px; background-color:blue; }
<div id="bgbox"> </div> <div id="top"> </div>
Comments
Post a Comment