css 獲取第N個子元素

.ant-table-thead {
      tr th:nth-child(n) {
        text-align: right;
        padding-right: 50px;
      }
    }

想獲取第幾個n就爲幾

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章