← Quiz: Flexbox and Grid: all 10 questions
Quiz: Flexbox and Grid · Question 3 of 10
What does grid-template-columns: 1fr 2fr create?
What does grid-template-columns: 1fr 2fr create?
- A.Two equal columns
- B.Two columns: one third and two thirds of the space
- C.One column 1px and one 2px
- D.Three columns
Answer & explanation
Correct answer: Two columns: one third and two thirds of the space
fr units share the free space in proportion.
Can you get the rest right without peeking?
Take the timed Quiz: Flexbox and Grid quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →