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;
  }

Comments

Popular posts from this blog

Day 1

Day 365 + 1

Day 365 + 2