We will use the visible, hidden and eq selectors in three possible cases in this example:
- We select all visible images and set them to a width of 200 by expanding their original width of 100.
- We select all the hidden images and we show them, that is to say, the first and the last image hidden by css.
- We select all the visible images and filter image 3 starting from zero and hide it.
Each jquery rule below overwrites the previous one.