samedi 8 avril 2017

beginner css => apply property to only one element

so I have this code:

<html>

<head>

<style>

html { 
background: url(bg_image.jpg) no-repeat center center fixed; 
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

</style>

</head>

<body>

<img src="logo.png">

</body>

</html>

How can I add brightness to my background image, without impacting logo.png ?

Thanks




Aucun commentaire:

Enregistrer un commentaire