I am developing a web page where I want to put a background image with an opacity of 0.3 and that the letters above do not suffer from opacity. The letters would be nested inside the div of the image. I do not know how to do it or if you can, what do you recommend?
This is how the website looks:
Here we would have the html code:
<section class="bg-primary" id="nosotros">
<div class="barnner1" id="nosotros1">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
<h2 class="section-heading">Equipamiento profesional para la hostelería.</h2>
<hr class="light">
<p class="text-faded">Suministros Tres Árboles somos una empresa con más de veinte años de experiencia dedicada a la distribución de equipamiento profesional para la hostelería. Formamos parte de la red de operadores de Hoterali<font color="red">@</font> Group.</p>
<a href="#contacto" class="page-scroll btn btn-default btn-xl sr-button">Contacta</a>
</div>
</div>
</div>
</div>
</section>
This would be barnner (where I put the image):
.barnner1{
background-image: url("logogris.png");
background-repeat: no-repeat;
background-position: center;
opacity: 0.3
}
And finally we have bg.primary where the background color is indicated:
.bgprimary { background-color: #3A6324; }
Thanks for your help