Home > front end >  How to use CSS to choose the same name of the class the last element
How to use CSS to choose the same name of the class the last element

Time:01-14

 





  • .




How to use CSS to choose the last element containing fruit class & lt; Li & gt; n

CodePudding user response:

Seems only can get the last element through the label can not by class for the last element

CodePudding user response:

The last child -

CodePudding user response:

Li: $(" last "). HasClass (" fruit ")
  • Related