Iman Ahsan·Nov 4, 2018Creating a table of contents using CSS flexbox and pseudo elementsUse flexbox, ::before, :first-child and :last-child to create a table of contents effect.