https://badwebsite.club/bootcamps/spring-2026/lessons/2026-06-04/
CSS - Pseudo Classes and Elements Part 1 | Bad Website Club
Before this session, please: Read Working with Pseudo-Classes and Pseudo-Elements in CSS: What Are Pseudo-classes, and How Do They Work? and take notes Read...
css pseudo classesbad website clubelementspart
https://www.w3schools.com:443/css/css_pseudo_classes.asp
CSS Pseudo-classes
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML...
css pseudo classes
https://www.smashingmagazine.com/2016/05/an-ultimate-guide-to-css-pseudo-classes-and-pseudo-elements/
An Ultimate Guide To CSS Pseudo Classes And Pseudo Elements — Smashing Magazine
CSS pseudo-classes and pseudo-elements can certainly be a handful. They provide so many possibilities that one can easily feel overwhelmed, but that’s the life...
css pseudo classesultimate guidesmashing magazine
https://modern-css.com/reference/selectors/fullscreen/
:fullscreen | CSS Selectors & Pseudo-classes
Targets an element while it is being displayed in the browser's full-screen mode (e.g., when a video or a photo is expanded to fill the whole monitor).
css selectorsfullscreenpseudoclasses
https://modern-css.com/reference/selectors/focus-within/
:focus-within | CSS Selectors & Pseudo-classes
Matches an element if it or any of its descendants have focus. Useful for form container styling.
css selectorsfocuswithinpseudoclasses
https://modern-css.com/reference/selectors/active-view-transition-type/
:active-view-transition-type | CSS Selectors & Pseudo-classes
Allows you to target elements during a specific type of view transition. By naming your transitions (e.g., 'slide-in' or 'payout'), you can apply different...
active view transitioncss selectorstypepseudoclasses
https://modern-css.com/reference/selectors/empty/
:empty | CSS Selectors & Pseudo-classes
A pseudo-class that targets any element that has absolutely no content inside it (not even whitespace or children).
css selectorsemptypseudoclasses
https://modern-css.com/reference/selectors/user-valid/
:user-valid | CSS Selectors & Pseudo-classes
Matches input elements after the user has modified them and they are valid. Provides user-driven validation feedback.
valid cssuserselectorspseudoclasses
https://modern-css.com/reference/selectors/column/
::column | CSS Selectors & Pseudo-classes
An experimental pseudo-element that allows you to style individual column boxes in a multi-column layout.
css selectorscolumnpseudoclasses
https://modern-css.com/reference/selectors/future/
:future | CSS Selectors & Pseudo-classes
A pseudo-class used with WebVTT (video subtitles). It targets subtitle cues that are scheduled to appear 'in the future' relative to the current playback time.
css selectorsfuturepseudoclasses
https://modern-css.com/reference/selectors/interest-source/
:interest-source | CSS Selectors & Pseudo-classes
Experimental: Targets an element that is currently the 'source' of interest (the element being hovered or focused) which is triggering an interest-based UI...
css selectorsinterestsourcepseudoclasses
https://modern-css.com/reference/selectors/grammar-error/
::grammar-error | CSS Selectors & Pseudo-classes
Matches text that the browser has flagged as having a grammatical error. You can use this to change the color or style of the grammar correction underline.
grammar errorcss selectorspseudoclasses
https://modern-css.com/reference/selectors/where/
:where | CSS Selectors & Pseudo-classes
Like :is() but with zero specificity. Lets you style without affecting selector specificity.
css selectorspseudoclasses
https://modern-css.com/reference/selectors/modal/
:modal | CSS Selectors & Pseudo-classes
css selectorsmodalpseudoclasses
https://modern-css.com/reference/selectors/read-write/
:read-write | CSS Selectors & Pseudo-classes
A selector that matches elements that ARE editable by the user. This includes normal text inputs, textareas, or elements with 'contenteditable' turned on.
css selectorsreadwritepseudoclasses
https://modern-css.com/reference/selectors/focus-visible/
:focus-visible | CSS Selectors & Pseudo-classes
Styles focus indicator only when keyboard navigation is used. Hides focus ring for mouse users.
css selectorsfocusvisiblepseudoclasses
https://modern-css.com/reference/selectors/autofill/
:autofill | CSS Selectors & Pseudo-classes
Matches an input element when its value has been automatically filled by the browser (like an address or credit card). It's useful for overriding the browser's...
css selectorsautofillpseudoclasses
https://modern-css.com/reference/selectors/first-letter/
::first-letter | CSS Selectors & Pseudo-classes
A pseudo-element that targets the very first letter of the first line of a block-level element. perfect for creating drop caps.
first lettercss selectorspseudoclasses
https://modern-css.com/reference/selectors/enabled/
:enabled | CSS Selectors & Pseudo-classes
A pseudo-class that targets form elements (like inputs or buttons) that are in an 'enabled' state and can be interacted with.
css selectorsenabledpseudoclasses
https://modern-css.com/reference/selectors/scope/
:scope | CSS Selectors & Pseudo-classes
Targets the element that is the scope of the selector. In CSS, this is usually the root element.
css selectorsscopepseudoclasses
https://modern-css.com/reference/selectors/scroll-marker/
::scroll-marker | CSS Selectors & Pseudo-classes
A new experimental pseudo-element that represents an individual navigation dot in a carousel. You can style these dots (like an active/inactive state) directly...
css selectorsscrollmarkerpseudoclasses
https://modern-css.com/reference/selectors/first-of-type/
:first-of-type | CSS Selectors & Pseudo-classes
A pseudo-class that targets the first element of its specific type within a parent. For example, 'p:first-of-type' targets the first paragraph, even if it's...
css selectorsfirsttypepseudoclasses
https://modern-css.com/reference/selectors/checkmark/
::checkmark | CSS Selectors & Pseudo-classes
An experimental pseudo-element part of the customizable select API that allows styling the checkmark icon in dropdown menus.
css selectorscheckmarkpseudoclasses
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/Pseudo-classes
Pseudo-classes - CSS | MDN
A CSS pseudo-class is a keyword added to a selector that lets you select elements based on information that lies outside of the document tree, such as a...
pseudoclassescssmdn
https://modern-css.com/reference/selectors/target/
:target | CSS Selectors & Pseudo-classes
Matches the element referenced by a URL fragment. Highlights the element when directly linked to.
css selectorstargetpseudoclasses
https://modern-css.com/reference/selectors/root/
:root | CSS Selectors & Pseudo-classes
css selectorsrootpseudoclasses
https://modern-css.com/reference/selectors/has/
:has() | CSS Selectors & Pseudo-classes
Matches an element if it contains at least one descendant or preceding element that matches the selector provided in the arguments. It is often referred to as...
css selectorspseudoclasses
https://modern-css.com/reference/selectors/slotted/
::slotted | CSS Selectors & Pseudo-classes
css selectorsslottedpseudoclasses
https://modern-css.com/reference/selectors/lang/
:lang | CSS Selectors & Pseudo-classes
Matches elements by language. Use to style different languages differently without adding classes.
css selectorslangpseudoclasses
https://modern-css.com/reference/selectors/required/
:required | CSS Selectors & Pseudo-classes
css selectorsrequiredpseudoclasses
https://modern-css.com/reference/selectors/invalid/
:invalid | CSS Selectors & Pseudo-classes
Targets form inputs that contain data that doesn't follow the rules set by attributes like 'required', 'pattern', or 'type'.
css selectorsinvalidpseudoclasses
https://modern-css.com/reference/selectors/last-child/
:last-child | CSS Selectors & Pseudo-classes
Targets an element only if it is the very last child inside its parent container.
last childcss selectorspseudoclasses
https://devtoolstips.org/tips/en/simulate-pseudo-classes/
Simulate pseudo CSS classes
Simulate pseudo CSS classes
simulate pseudo css classes
https://modern-css.com/reference/selectors/class/
:class | CSS Selectors & Pseudo-classes
The class selector (.) targets all elements that have a specific 'class' attribute. It is the most common and flexible way to apply styles in CSS.
css selectorsclasspseudo
https://modern-css.com/reference/selectors/paused/
:paused | CSS Selectors & Pseudo-classes
css selectorspausedpseudoclasses
https://modern-css.com/reference/selectors/scroll-marker-group/
::scroll-marker-group | CSS Selectors & Pseudo-classes
A new experimental pseudo-element that acts as a container for individual 'scroll markers'. It's used to create native CSS carousels with built-in navigation...
css selectorsscrollmarkergrouppseudo
https://modern-css.com/reference/selectors/nth-of-type/
:nth-of-type() | CSS Selectors & Pseudo-classes
Targets elements based on their position among siblings of the same type. For example, it can target 'the second image' even if there are paragraphs in between.
css selectorsnthtypepseudoclasses
https://modern-css.com/reference/selectors/any-link/
:any-link | CSS Selectors & Pseudo-classes
Matches both :link and :visited pseudo-classes. Selects any hyperlink regardless of visited state.
css selectorspseudoclasses
https://modern-css.com/video-player-states-without-javascript-events/
CSS :playing, :paused, :muted Pseudo-Classes for Media
Apr 20, 2026 - Style video and audio by playback state with the CSS :playing, :paused, :muted, :seeking, :buffering, and :stalled pseudo-classes. No JavaScript event...
for mediacssplayingpausedmuted
https://modern-css.com/reference/selectors/view-transition-image-pair/
::view-transition-image-pair | CSS Selectors & Pseudo-classes
Targets the 'pair' of images (the old snapshot and the new snapshot) within a view transition group. This is where the cross-fade between the two states...
view transitioncss selectorsimagepairpseudo
https://modern-css.com/reference/selectors/only-of-type/
:only-of-type | CSS Selectors & Pseudo-classes
Targets an element that is the ONLY child of its type among its siblings. For example, 'the only image' in a div, even if there's also text.
css selectorstypepseudoclasses
https://modern-css.com/reference/selectors/subsequent-sibling/
:subsequent-sibling | CSS Selectors & Pseudo-classes
Matched by the '~' symbol, this selector targets any siblings that come AFTER the specified element in the HTML. It doesn't have to be the very next sibling.
css selectorssiblingpseudoclasses
https://modern-css.com/reference/selectors/highlight/
::highlight | CSS Selectors & Pseudo-classes
Targets custom text highlights created via the CSS Highlight API. It allows you to style specific ranges of text programmatically (ideal for...
css selectorshighlightpseudoclasses
https://modern-css.com/reference/selectors/picker/
::picker | CSS Selectors & Pseudo-classes
css selectorspickerpseudoclasses
https://modern-css.com/reference/selectors/buffering/
:buffering | CSS Selectors & Pseudo-classes
css selectorsbufferingpseudoclasses
https://www.phoronix.com/news/Firefox-150
Firefox 150 Available With GTK Emoji Picker, CSS Media Element Pseudo-Classes - Phoronix
Mozilla today published their Firefox 150 release binaries as the latest milestone for this open-source web browser with growing AI ambitions.
emoji pickermedia elementfirefoxavailable