In this example you will learn, how to 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:
1 2 3 4 5 6 7 8 9 10 11 12 13 | <html> <head> <style> body { background-image: url("/css/images/css.jpg"); background-position:80px; } </style> </head> <body> <p>Tutorials point</> </body> </html> |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.