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

Trending Topics

Online now

Members online
725
Guests online
1,230
Total visitors
1,955

Forum statistics

Threads
2,286,981
Posts
29,041,580
Members
1,216,321
Latest member
laffytaffy
Back
Top