Background with transparent image

Asked

Viewed 8,826 times

0

As I make the background image transparent and responsive, responsive I managed with the code below, more now I need to put transparecia in the image.

CSS

body{
  background: url(../img/bg.jpg) no-repeat center center fixed;
  background-size: cover; /*Css padrão*/
  -webkit-background-size: cover; /*Css safari e chrome*/
  -moz-background-size: cover; /*Css firefox*/
  -ms-background-size: cover; /*Css IE não use mer#^@%#*/
  -o-background-size: cover; /*Css Opera*/
}

HTML

<html>
<head>
    <title>ControlHall - Telve Tecnologia</title>
    <link href="css/style.css" rel="stylesheet">


</head>
<body>

</body>
</html>

1 answer

2


You can use the opacity filter in CSS:

opacity: 0.5;
filter: alpha(opacity=50); /* PARA IE8 ou superiores */

Read more about opacity and transparency on W3SCHOOLS - CSS Opacity / Transparency

Browser other questions tagged

You are not signed in. Login or sign up in order to post.