CSS Flashcards
what property defines the direction items are placed in the container?
flex-direction
What property aligns items horizontally in the container?
Justify-content
What property aligns items vertically in the container?
align-items
What property changes the order of items?
order
What property allows you to wrap items on other lines?
flex-wrap
What does absolute position do to the document flow?
Absolutely positioned elements are on their on stack, so other documents will fill in the space it left
What does relative position do to the document flow and how it appears on the page?
relatively positioned elements do no affect document flow, put it does affect how it appears on the page
What is relative position?
Defines where the element is positioned relative to its block level
What is source order?
If styling is applied to an element’s class multiple times, the LAST style is ultimately applied
What is inheritance?
If no value is specified for an element’s property, then that element inherits parent element’s property