"To select the last child element with the class "qq_product_in_list" and remove the left border, you can use the :last-child selector as follows:
\n```css
.qq_product_in_list:last-child {
border-left: none;
}\

\nTo select the last three child elements with the class \"qq_product_in_list\" and remove the left border, you can use the :nth-last-child() selector as follows:\
\n```css\
.qq_product_in_list:nth-last-child(-n+3) {\
  border-left: none;\
}\
```\
\nHere's the updated code:\
\n```css\
.qq_product_in_list {\
  border-radius: 0px;\
  border-top: 1px solid #F1F2F4;\
  border-left: 1px solid #F1F2F4;\
  border-right: 0px;\
  border-bottom: 0px;\
}\
\n.qq_product_in_list:last-child {\
  border-left: none;\
}\
\n.qq_product_in_list:nth-last-child(-n+3) {\
  border-left: none;\
}\
```\
\nHope this helps!\

原文地址: http://www.cveoy.top/t/topic/poUo 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录