Can I apply a CSS style to an element name?

后端 未结 10 1353
借酒劲吻你
借酒劲吻你 2020-12-07 14:39

I\'m currently working on a project where I have no control over the HTML that I am applying CSS styles to. And the HTML is not very well labelled, in the sense that there a

10条回答
  •  既然无缘
    2020-12-07 14:58

    if in case you are not using name in input but other element, then you can target other element with there attribute.

        [title~=flower] {
          border: 5px solid yellow;
        }
        
        
        

    hope its help. Thank you

提交回复
热议问题