I can not align the block in the center relative to the others. Here is a piece of code. Or if in brief: There is one display: block, there are 2 inline-block blocks in it and 3 need to be pressed to the right edge of the parent, but so that it is vertically centered relative to the others. How to do it?
I do here http://ravlex.pluton-host.ru/polar/cart.html
.formdostavka input[type=radio] + .descdostavka:before { content: "\f07a"; font-family: FontAwesome; display: inline-block; color: #fff; font-size: 24px; background-color: #0e62bd; border-radius: 5px; padding: 13px 40px; margin-right: 15px; vertical-align: middle; } .descdostavka { font-family: "MuseoSansCyrl-500"; font-size: 15px; } .boxdost { display: inline-block; vertical-align: middle; max-width: 630px; } .boxprice { display: inline-block; float: right; }
<div class="descdostavka"> <div class="boxdost"> <span class="titledostavka">Доставка заказа стоимостью до 15000 руб.</span> <span class="descrdostavka">Стоимость доставки по Московской области, а так же доставки по Москве в пределах МКАД заказов до 15 тысяч рублей - уточняйте дополнительно у наших менеджеров.</span> </div> <div class="boxprice"> <span>Стоимость: 0 руб.</span> </div> </div>