
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set 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:
<html> <head> <style> body { background-image: url("/https/www.tutorialspoint.com/css/images/css.jpg"); background-position:80px; } </style> </head> <body> <p>Tutorials point</> </body> </html>
Advertisements