CSS column layout helps you to divide your text in to columns. For example consider the below magazine news which is one big text but we need to divide the same in to 3 columns with a border in between. That’s where HTML 5 column layout comes to help.
- How many columns we want to divide the text in to ?
- How much gap we want to give between those columns ?
- Do you want to draw a line between those columns ?
Below is the complete code for the same.
Below is a nice interview question video for quick revision.