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

Popular posts from this blog

how to code a weather forecast web

What Build Tools Do JavaScript Developers Use?

WordPress Theme Development From Scratch - 3. Enqueuing CSS and JS to W...

how to use :focus

unit3.online registration form tricks: input field box align right and placeholder text right, but input text left.

how to screenshot a drop down menu on mac

Numbers in JavaScript introduction