Categories
How to apply style to last 3 elements?
I need to apply a style to the last 3 elements, or rather, so that all elements are display: none; except for the last 3. Is it possible with css?
Answer the question
In order to leave comments, you need to log in
LIKE
SELECT * FROM [db_name] WHERE [field] LIKE '%[value]%'
selector:not(:nth-last-child(-n+3)){ display: none; }
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question