Answers for "css 2 divs nebeneinander"

CSS
0

css 2 divs nebeneinander

#right{
                 background: green;     
                 width: 100%;
               }
               #left {
                 margin-top: 5px; /* to test if they intersect*/
                 background: red;
               }  
               #container {
                  width: 800px;
               }
               <div id="container">
                  <div id="left"> This div is as big as it's content</div>
                  <div id="right"> rest of space</div>
               </div>
Posted by: Guest on October-26-2020

Browse Popular Code Answers by Language