Good!
Could you tell me how to vertically align the green square that is inside the red?
The thing is that this green square contains in turn an image (logo) and this if I can align it with the label line-height: 200px
, but said square no.
Where would be the right place to put line-height
(or whatever), to get this effect?
To say that before asking, I have been reading the forum and from there I have taken out the line-height
, but I can not get the green line too.
Thanks
.Marca_General {
height: 110px;
width: 80%;
background-color: red;
margin: auto;
/* Alinea verticalmente los logos */
line-height: 200px;
}
.Marca_Individual {
width: 100px;
height: 100px;
background-color: green;
margin: 5px;
}
<html>
<body>
<div class="Marca_General">
<div class="Marca_Individual">
<img src="Img/Iconos/logoBombilla.png" alt="">
</div>
</div>
</body>
</html>