On using the Column-count:2 property in UL list , the alignment of the LI element becomes different when the elements are in ODD number, on Even number elements it is perfect,
Does anyone know why this is happening?
Loading
On using the Column-count:2 property in UL list , the alignment of the LI element becomes different when the elements are in ODD number, on Even number elements it is perfect,
Does anyone know why this is happening?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhishek ChadhaRank #402 · 6.2K reputationPosted Jun 30, 2022, 8:14 AM EDT
I Got the solution need to use the property
break-inside: avoid;
Thanks Sachin for your help
Sachin SinghRank #66 · 26.2K reputationPosted Jun 30, 2022, 7:36 AM EDT
"columns">
Abhishek ChadhaRank #402 · 6.2K reputationPosted Jun 30, 2022, 7:50 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jun 30, 2022, 8:13 AM EDT