Question: What will be the result of the following CSS code? Hint: justify - content always controls the alignment of items along the main axis, while
What will be the result of the following CSS code? Hint: justifycontent always controls the alignment of items along the main axis, while alignitems always controls the alignment of items along the cross axis. flexdirection determines the main axis.
container
display: flex;
flexdirection: column;
justifycontent: center;
alignitems: flexstart;
item
width: px;
height: px;
backgroundcolor: red;
What will be the result of the following CSS code? Hint: justifycontent always controls the alignment of items along the main axis, while alignitems always controls the alignment of items along the cross axis. flexdirection determines the main axis.
container
display: flex;
flexdirection: column;
justifycontent: center;
alignitems: flexstart;
item
width: px;
height: px;
backgroundcolor: red;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
