Answers for "width 100% not working in css 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
0

css grid not working

<!-- The first thing is to make sure that you have; -->
display = grid;

<!-- if it doesnt work, check the link below. Its
 better tha some random stuff online-->
Posted by: Guest on July-22-2021

Browse Popular Code Answers by Language