What's new

Tutorial CSS: Pseudo-class selectors :is() and :where()

AnonDJ

Addict
Joined
Jul 9, 2016
Posts
63
Reaction
22
Points
99
Hi mga sir,

Itong dalawang pseudo-class selectors na :is() and :where() ay halos mag-isang taon na noong maging available.
Supported na din ng latest versions ng known browsers.

:is()

Before:​

Code:
h1 > b, h2 > b, h3 > b, h4 > b, h5 > b, h6 > b {
  color: hotpink;
}

After:​

Code:
:is(h1,h2,h3,h4,h5,h6) > b {
  color: hotpink;
}

:where()

After:​

Code:
:where(h1,h2,h3,h4,h5,h6) > b {
  color: hotpink;
}

Kung matagal ka na nagamit ng CSS, masasabing mong ang-Astig diba? 😎

You do not have permission to view the full content of this post. Log in or register now..
 

Similar threads

Back
Top