This example currently shows an unordered list with 8 list items in it.
Is there a way to use only CSS (without HTML or JavaScript) to insert a gap after the 4th li element. Something like:
ul li:nth-child(4n):after { content = '<br>'; }
dom html css html-lists
jacktheripper
source share