css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

The :scope pseudo-class makes more sense when it’s tied to the scoped HTML attribute in a tag. If there is no scoped attribute in a tag within a section of the page, then the :scope pseudo-class will scope all the way out to the , which is the default scope of a style sheet.

Note: Firefox is the only one that supports this pseudo-class.


  1. No comments yet.

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.