1
I need to perform an image alignment with a span tag and place an edge on that span tag. I was able to align, but it only worked by placing a margin-bottom of 1px. It worked, but I didn’t like the solution. Someone knows another technique to make this alignment?
.rotten-tomatoes-rating {
width: 120px;
margin-right: 15px;
}
.rotten-tomatoes-rating img {
padding: 10px;
height: 38px;
margin-bottom: 1px;
background-color: #ff0740;
}
.imdb-details span, .rotten-tomatoes-rating span {
padding: 10px;
color: white;
font-weight: 600;
font-size: 12px;
border: 1px solid #ff0740;
}
<div class="container">
<div class="row col-md-6">
<div class="rotten-tomatoes-rating">
<img src="../../assets/2.Logos/logo-rotten-tomatoes.svg">
<span >{{rottenTomatoesRating}}</span>
</div>
</div>
It worked, thank you very much!
– Guilherme Nass