Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1307

Controlling the amount of space in justify-content: space-between

$
0
0

I was wondering how to justify how much space is allowed in justify-content: space-between for flexbox.

Currently, my items are spaced but they have way too much space between them I want just a little space between them so they can settle somewhere in the middle in a row.

The snippet below will hopefully clarify what I'm struggling with.

Let me know if you need me to clarify further. Thanks!

#qwrapper {  display: flex;  height: 100%;  width: 100%;  align-items: center;  justify-content: center;}.row {  flex: 0 auto;  height: 100px;  margin: 0;}#lighticon {  padding-bottom: 30px;}@media (max-width: 800px) {  #qwrapper {    flex-direction: column;    align-items: center;  }}@media screen and (max-width: 480px) {  #qwrapper {    flex-wrap: wrap;  }  .row {}}@media only screen and (min-width: 760px) {  #qwrapper {    justify-content: space-between;    margin: 10px;  }  #lighticon {    position: relative;    margin-left: 100px;  }}
<div id="qwrapper"><h3 id="michelle" class="row">"She always thinks of her clients."<br></h3><img src="https://cdn4.iconfinder.com/data/icons/black-icon-social-media/512/099310-feedburner-logo.png" class="row" alt="" id="lighticon" /><h3 id="jerry" class="row">"Very smart, creative person, problem solver."<br></h3></div>

Viewing all articles
Browse latest Browse all 1307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>