1.

Which property defines in which direction the container wants to stack flex items?(a) flex-flow(b) flex-wrap(c) flex-direction(d) align-contentThe question was posed to me in exam.My question comes from Styling HTML5 Layout with CSS in chapter Flash Videos, HTML5 Layout & Practical Information of HTML

Answer»

The correct choice is (c) flex-direction

Explanation: flex-direction PROPERTY defines in which direction the CONTAINER wants to stack the flex items, the flex-flow property is shorthand property for setting both flex-direction and flex-wrap properties. For deciding whether the flexible items should wrap or not, flex-wrap property is USED.



Discussion

No Comment Found

Related InterviewSolutions