快捷导航

nth:child()问题,行内块

.one{width:300px;height:100px;background:#abcdef;margin:50pxauto;}.pp{width:100px;height:100px;background:red;margin-top:10px;display:inline-block;}.pp:nth-child(1){background:#ef507e}.pp:nth-child(2){background:#ffffff}.pp:nth-child(3){background:#5eef56}

免责声明:本内容仅代表回答者见解不代表本站观点,请谨慎对待。

版权声明:作者保留权利,不代表本站立场。

回复

使用道具 举报

参与会员1

其实你想问啥
回复

使用道具 举报

可能感兴趣的问答

发新帖
TA的信息
  • 会员所属: 注册会员
  • 认证信息: 邮箱认证手机认证
  • 微信访问
  • 手机APP