I want to apply some specific styles to all elements which come after a certain element. For example, I want to select all elements which come after the divider
divider
You can use
.divider ~ li { background-color:green; }