🔒 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
  • 358
    Views
  • 2
    Participants
Last reply from:
K e i d

Trending Topics

Online now

Members online
436
Guests online
3,674
Total visitors
4,110

Forum statistics

Threads
2,308,618
Posts
29,186,243
Members
1,192,109
Latest member
cmndrcdy
Back
Top