duanaoreng9355
duanaoreng9355
2017-06-23 17:02
浏览 15
已采纳

PHP数组CSS属性选择器

Does anyone know the CSS syntax to add an attribute selector that uses PHP array style name attribute for the form element.

I want something like input[name=attrValue[]].dspNone, but the [] is not working in my style sheet.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dongpanshi2839
    dongpanshi2839 2017-06-23 17:22
    已采纳

    One word. Quotes.

    input[name="attrValue[]"]
    
    点赞 评论

相关推荐