Quantcast
Channel: what does this mean? *[class="hide"] in css - Stack Overflow
Browsing latest articles
Browse All 5 View Live

Answer by poke for what does this mean? *[class="hide"] in css

The * is the universal selector that matches a single element of any type. When combined with other selectors, the asterisk can usually be omitted. In your case, you could also just write...

View Article



Answer by Thanh Nguyen for what does this mean? *[class="hide"] in css

This question may be duplicate with this *[class="hide"] will select anything with class="hide"

View Article

Answer by Dan Philip for what does this mean? *[class="hide"] in css

1. *[class="red"] selects all elements with the class name exactly red. It is same as calling [class="red"] ie. the * is redundant. 2. [class*="red"] selects all elements with the class names...

View Article

Answer by inarilo for what does this mean? *[class="hide"] in css

* is a wild card selector and applies to all elements, e.g. div>* applies to any element that is directly under a div. The brackets indicate attributes of the elements to match, so this line applies...

View Article

what does this mean? *[class="hide"] in css

What is going on here with this css? The * and [] are confusing me, I haven't seen it before. I realise it is to hide but does it mean if I create an element with class="hide" it will hide it? I can't...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images