Answers for "make div take full height of parent grid"

CSS
0

css grid not taking full row height

.img_container{
    height: 50%; // or whatever value just make sure you give your parent a height
    width: 100%;
    background: url('link to your image') 50% no-repeat;
    background-size: cover;
 }
Posted by: Guest on July-28-2021

Code answers related to "make div take full height of parent grid"

Browse Popular Code Answers by Language