خرید بک لینک

Vote count: 0

I am trying to vertical align two divs inline in a parent div.

See:

https://jsfiddle.net/xh8rbnmh/

The vertical align is straight forward, but I am also trying float the divs, one left and one right inline.

Is this possible to do?

Html:

<div class="outer">
  <div class="ier_right">
    RIGHT MIDDLE
  </div>
  <div class="ier_left">
   LEFT MIDDLE
  </div>
</div>

CSS:

.outer {
  background: red;
  height: 300px;
  display: flex;
  align-items: center;
}
.ier_right {
  background: blue;
  float: right;

}

.ier_left {
  background: yellow;
  float: left;
}

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 10 خرداد 1395 ساعت: 5:00

صفحه بندی