Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 303 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 303 Bytes

CSS-cheat-sheet

Add a third element on html: Aligning contents Left and center with flexbox:

<div class="parent">
  <div class="left">Left</div>
  <div class="center">Center</div>
  <div class="right"></div>
</div>

.parent { display: flex; } .left, .right { flex: 1; }