Background with transparent image

0

As I leave the background image transparent and responsive, responsive I got with the code below, but now I need to put transparency 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>
    
asked by anonymous 17.08.2016 / 15:34

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 at the W3SCHOOLS - CSS Opacity / Transparency

    
17.08.2016 / 15:38