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

Trending Topics

Online now

Members online
416
Guests online
7,447
Total visitors
7,863

Forum statistics

Threads
2,339,149
Posts
29,308,042
Members
1,122,883
Latest member
Tovempire
Back
Top