Day 105
Any ideas on how to build a div using the dimensions of the background image using percentages? Me either...
#CodingPhase #TheCodingWay #365CodingPhaseChallenge
**********
#main-bg-img #bg-img {
background-image: url('/img/main-bg-650.jpg');
width: 100vw;
max-width: 650px;
height: auto;
max-height: 272px;
border: 5px solid blue;
}
#CodingPhase #TheCodingWay #365CodingPhaseChallenge
**********
#main-bg-img #bg-img {
background-image: url('/img/main-bg-650.jpg');
width: 100vw;
max-width: 650px;
height: auto;
max-height: 272px;
border: 5px solid blue;
}
Comments
Post a Comment