HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> body{ background-image: url("apple.png"); background-repeat: no-repeat; background-position: 20% 30%; height: 300px; } </style> </head> <body> <h1>CSS background-position Property</h1> <p>CSS background-position in 'percentage'</p> </body> </html>
OUTPUT
×

Save as Private