الصفحة الرئيسية
تحميل الكود
تغيير الألوان
تغيير العرض
تغيير حجم العرض
تشغيل الكود
<!DOCTYPE html> <html> <head> <style> body { background-image: url('/tutorials/css/background/moon.png'); background-color: cornflowerblue; background-repeat: no-repeat; background-position: right top; padding-right: 130px; background-attachment: fixed; } </style> </head> <body> <h1>Background color with image</h1> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> <p>Scroll down to see how the background is fixed.</p> </body> </html>