review:Styling the “wildlife” div with Background Properties task5 (using border-box)
Finally, give .wildlife
the box-sizing
property and value that forces any padding and border widths into its total width and height.
/* Complete the challenge by writing CSS below */
.wildlife {
background-image: url('img/bear.jpg');
background-repeat:no-repeat;
background-position:center;
background-size: cover;
box-sizing:border-box;
}
Comments
Post a Comment