review: Styling the “wildlife” div with Background Properties task3 (using background-position)

Challenge Task 3 of 5

Next, position the background image in the center of the '.wildlife' element. 


/* Complete the challenge by writing CSS below */


 .wildlife {

   background-image: url('img/bear.jpg');

   background-repeat:no-repeat;

   background-position:center;

   

 }

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