By targeting individual or groups of Collection Items inside of Collection Lists, you can style them differently than the rest of the sibling items, breaking the look of your list and achieving more refined designs without having to deal with multiple lists.
:nth-of-type(1) TARGETS THE 1ST SIMILAR ELEMENT OF THE LIST ONLY
.one-item:nth-of-type(1) .one-inner-element { border-color: blue; }
:nth-of-type(2) TARGETS THE 2ND SIMILAR ELEMENT OF THE LIST ONLY
.one-item:nth-of-type(2) .one-inner-element { border-color: orange; }
:nth-of-type(3) TARGETS THE 3RD SIMILAR ELEMENT OF THE LIST ONLY
.one-item:nth-of-type(3) .one-inner-element { border-color: gray; }
TARGETS THE 3RD SIMILAR ELEMENT OF THE LIST ONLY
.colitem:nth-of-type(3) .subitem { border-color: black; }
.colitem:nth-of-type(5) TARGETS THE 5TH SIMILAR ELEMENT OF THE LIST ONLY
.colitem:nth-of-type(5) .subitem { border-color: orange; }
.colitem:nth-of-type(3N) TARGETS OVERY OTHER 3RD SIMILAR ELEMENT OF THE LIST
.colitem:nth-of-type(3n) { background-color:blue }
.colitem:nth-of-type(3N-1) TARGETS OVERY OTHER 3RD SIMILAR ELEMENT OF THE LIST AND STARTS AT POSITION 3-1=2
.colitem:nth-of-type(3n-1) { background-color:red }
Targets the first, then second, then 3rd item
.colitem2:nth-child(1), .colitem2:nth-child(2), .colitem2:nth-child(3) {background-color:blue}
Targets all the items but starts at the 4th
.colitem3:nth-child(1n+4) {background-color:blue}
Sed molestiae distinctio porro. Ex
Repellendus reprehenderit sit officiis et repellat non est. Sit commodi asperiores ut blanditiis. Eaque voluptas totam maxime est
Qui vel nihil est distinctio. Qui quisquam ut dolorem est consequuntur nemo reprehenderit est autem
Non quo nulla perspiciatis non natus doloribus reiciendis minima. Numquam voluptate sunt non in quas quia. Qui tempora e
TARGETS THE IMAGE NAMED .OEDEMO-IMAGE INSIDE OF EVERY EVEN .COLITEM-OEDEMO ELEMENT, AND ADDS THE FLEXBOX CHILDREN PROPERTY ORDER:1 TO PASS IT TO THE RIGHT
.colitem-oedemo:nth-child(even) .oedemo-image {order: 1}
Here, we use nth-child to target the first item of the Collection List, which is a flex child, and pass it to width 100%, so that it's styled differently from the rest of the items.
Sed molestiae distinctio porro. Ex
Repellendus reprehenderit sit officiis et repellat non est. Sit commodi asperiores ut blanditiis. Eaque voluptas totam maxime est
Qui vel nihil est distinctio. Qui quisquam ut dolorem est consequuntur nemo reprehenderit est autem
Non quo nulla perspiciatis non natus doloribus reiciendis minima. Numquam voluptate sunt non in quas quia. Qui tempora e
Odio dignissimos aut impedit id asperiores error. Id enim perferendis aliquid ea molestiae nulla neque. Nesciunt molestiae et consequatur o
Sapiente in qui consequatur dolorem. Laboriosam repellendus praesentium dolorem voluptas. Facilis consequatur ipsa qui omnis aliquam rei
Iste illo maiores veritatis vel voluptatem libero adipisci nobis. Est asperiores esse. Odit debitis optio qui. Laudantium aut dolore veli
Dolorem sunt nemo vitae sapiente enim et vel. Eum pariatur beatae quia rerum. Deleniti ducimus enim. Fugit nihil repudiandae et. Offic
Explicabo nihil omnis soluta cumque autem fugiat rem et non. Vel est ab magnam reiciendis illum. Aperiam ut quis id la
TARGETS the first item and pass it to width:100%
.colitem-targetone:nth-child(1) {width:100%}