Answers for "how to make div occupy full width"

CSS
1

stretch div to full height

#root {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
Posted by: Guest on November-06-2020
-2

how do i make a div full width with css

.row-full{
 width: 100vw;
 position: relative;
 margin-left: -50vw;
 height: 100px;
 margin-top: 100px;
 left: 50%;
}
Posted by: Guest on April-20-2020

Code answers related to "how to make div occupy full width"

Browse Popular Code Answers by Language