Posted By

fedek6 on 05/01/14


Tagged

flexbox


Versions (?)

Flexbox, take full width for each children element


 / Published in: CSS
 

Take full available width of a wrapper.

  1. /* wrapper */
  2. .flexbox {
  3. display: -webkit-box;
  4. display: -moz-box;
  5. display: -ms-flexbox;
  6. display: -webkit-flex;
  7. display: flex;
  8. justify-content: space-around;
  9. }
  10. /* children */
  11. .children {
  12. display: block;
  13. width: 100%;
  14. }

Report this snippet  

You need to login to post a comment.