M1D8: CSS Flexbox

Categories: 6-Month Journey, Study Notes

Container and flex items. The flex items and container can be different elements as long as they are direct children of the flex container. In order to display the container in flex layout, add the flex display in the CSS. display: flex; – automatically lines up the elements (flex items) horizontally. In the example above, … Read More