CSS background

Using the css background feature, you can set your background image as in the example.

body {
    background: url("img/body.jpg") no-repeat center center fixed;
    background-size: auto;
    background-size: cover;
}

In this example, the picture will stay centered on the page and spread out over the area.


0 Yorum

Soru & Yorum


Web Tasarım

Renkli Kare

Web Tasarım Ajansı