Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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;
 }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #grid #full #row #height
ADD COMMENT
Topic
Name
2+3 =