In CSS Flexbox, why are there no “justify-items” and “justify-self” properties?

Consider the main axis and cross axis of a flex container: Source: W3C To align flex items along the main axis there is one property: justify-content To align flex items along the cross axis there are three properties: align-content align-items align-self In the image above, the main axis is horizontal and the cross axis is … Read more

How to remove the space between inline/inline-block elements?

Given this HTML and CSS: span { display:inline-block; width:100px; background-color:palevioletred; } <p> <span> Foo </span> <span> Bar </span> </p> As a result, there will be a 4 pixel wide space between the SPAN elements. Demo: http://jsfiddle.net/dGHFV/ I understand why this happens, and I also know that I could get rid of that space by removing the … Read more