Answer the question
In order to leave comments, you need to log in
How to set the size of the picture?
Goodnight!
how to limit the image to its size? the picture has 48x48 pixels, but it completely captures its block.
.items {
display: flex;
flex-wrap: wrap;
}
.item {
display: flex;
width: 33.3333%;
margin-bottom: 33px;
}
.item img {
margin-right: 16px;
max-width: 100%;
}
<div class="items">
<div class="item">
<img src="/img/item.png" alt="картинка">
<div class="item-text">
<h4 class="title">Бетон</h4>
<p class="description">Поставки бетона точно планируются, а его состояние контролируется, что обеспечивает максимально возможное время для установки.</p>
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
.item img { width: 48px; height: 48px; }
Or I don't understand something)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question