1.

What is Flexbox and describe any elaborate on its most used properties?

Answer»

It is a layout MODEL that ALLOWS elements to align and distribute space within a container. With Flexbox when Using flexible widths and heights, all the inside the main container can be aligned to fill a space or distribute space between elements, which makes it a great tool to USE for responsive design systems.

Property ValuesDescription
flexDirection‘column’,'row'Used to specify if elements will be aligned vertically or HORIZONTALLY 
justifyContentCENTER’,'flex-start','flex-end','space-around','space-between'Used to determine how should elements be distributed inside the container 
alignItems‘center’,'flex-start','flex-end','stretched'Used to determine how should elements be distributed inside the container along the secondary axis (opposite of flexDirection)


Discussion

No Comment Found