一、css父子选择器 .index__rules___3dyYc>.index__list___2OerP>li[data-length="1"] { padding-left: 0; } .index__rules___3dyYc>.index__list___2OerP>li { position: relative; padding-left: 27px; } 来源:https://www.cnblogs.com/dhjy123/p/11807464.html 标签 padding css snippets