U
U
uRoot2019-08-30 12:09:22
css
uRoot, 2019-08-30 12:09:22

How to select all bottom elements?

There are N number of divs in the container, let's say 6, flexed at 3 per line, as an example: sandbox
Need to make a rule that selects 4, 5 and 6 divs (i.e. the last ones) so that I can set their properties. There can be up to 12 divs. Their current number is in a variable.
It would be possible, on the contrary, to select all but the last ones.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Secret73, 2019-08-30
@uroot

jsbin.com/ufosox/1/edit?html,css,output
PS Not my solution

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question