CSS adventure [nth-child, nth-of-type pre-select three]

&:nth-of-type(-n+3) {}

&:nth-child(-n+3) {}

  

Guess you like

Origin www.cnblogs.com/codesyofo/p/11009456.html