Is there a CSS selector for elements lacking an attribute?

后端 未结 4 454
一整个雨季
一整个雨季 2021-02-04 23:44

I understand that css rules can target elements specified by attribute values, e.g.:

input[type=\"text\"] {}

Can I make a rule that targets ele

4条回答
  •  北荒
    北荒 (楼主)
    2021-02-04 23:52

    You can always set different style to a and a href

    Check this: http://jsfiddle.net/uy2sj/

提交回复
热议问题