У меня есть следующие четыре внутренних div
контейнера (маленькая картинка - текст - маленькая картинка - текст):
<div class="container">
<div class="col-md-12">
<div class="row">
<div class="col-sm-2">
<div class="components-circle inner-component"></div>
</div>
<div class="col-sm-4">
<h3>Title</h3>
<p class="description">
Some ... long ... text
</p>
</div>
<div class="col-sm-2">
<div class="components-circle inner-component"></div>
</div>
<div class="col-sm-4">
<h3>Title</h3>
<p class="description">
Some ... long ... text
</p>
</div>
</div>
</div>
</div>
CSS
для components-circle
и inner-component
:
.components-circle {
display: block;
margin: 0 auto;
background-repeat: no-repeat;
height: 115px;
width: 115px;
border-radius: 100%;
border: 2px solid #e0e0eb;
}
.inner-component {
background: url(http://...) no-repeat;
background-position: 20px 15px;
}
Проблема в том, что components-circle
и inner-component
перекрывают текст, который находится справа от них, когда я изменяю размер браузера, это означает, что шаблон не отвечает.
Как можно вставить разрыв строки при изменении размера браузера или сделать так, чтобы components-circle
и inner-component
реагировали так, чтобы они не перекрывали соответствующий текст с правой стороны?