Set the Background Image Position with CSS

To set the background image position, use the background-position property. You can try to run the following code to learn how to work with the background-position property:

Example

It sets the background image position 80 pixels away from the left side:

   
      
   
   
      

Tutorials point>    

Updated on: 2020-01-30T09:20:57+05:30

597 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements