🔒 Closed CSS: Pseudo-class selectors :is() and :where()

Status
Not open for further replies.

AnonDJ

Enthusiast
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..
 
Status
Not open for further replies.

About this Thread

  • 1
    Replies
  • 346
    Views
  • 2
    Participants
Last reply from:
K e i d

Trending Topics

Online now

Members online
960
Guests online
1,377
Total visitors
2,337

Forum statistics

Threads
2,273,520
Posts
28,950,153
Members
1,235,797
Latest member
jules jedi
Back
Top