jeudi 23 novembre 2017

Html background size

La propriété CSS background-size spécifie la taille de l'image dans. The background-size property specifies the size of the background images. La propriété CSS background-size permet d'ajuster la taille des images.

Il faut, pour que le div fasse 1 et donc l'image aussi, mettre body et html a. The background-size property in CSS is one of the most useful. We can do this purely through CSS thanks to the background-size property now in CSS3. La propriété CSS background-size est applicable sur presque toutes les balises HTML ou XHTML ayant une image d'arrière plan.

Instead of using background-image you can use img directly and to get the image to spread all the width of the viewport try using .

Aucun commentaire:

Enregistrer un commentaire

Remarque : Seul un membre de ce blog est autorisé à enregistrer un commentaire.

Articles les plus consultés