pseudo-elements
✓Modern CSS pseudo-elements for styling without extra DOM nodes. Use when implementing view transitions, adding decorative layers, or styling native browser UI. Triggers on tasks involving ::before, ::after, view-transition, backdrop styling, or reducing JavaScript for visual effects.
Installation
SKILL.md
Modern CSS pseudo-elements provide direct styling hooks into browser-native features—dialogs, popovers, view transitions—reducing the need for JavaScript. Sometimes you don't need to install a library; the browser has you covered.
| ::before / ::after | Decorative layers, icons, hit targets | | ::view-transition-group(name) | Control view transition animations | | ::view-transition-old(name) | Style the outgoing snapshot | | ::view-transition-new(name) | Style the incoming snapshot | | ::backdrop | Style dialog/popover backdrops | | ::placeholder | Style input placeholders |
Create anonymous inline elements as first/last child. Require content to render.
Modern CSS pseudo-elements for styling without extra DOM nodes. Use when implementing view transitions, adding decorative layers, or styling native browser UI. Triggers on tasks involving ::before, ::after, view-transition, backdrop styling, or reducing JavaScript for visual effects. Source: raphaelsalaja/userinterface-wiki.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/raphaelsalaja/userinterface-wiki --skill pseudo-elements- Category
- *Creative Media
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is pseudo-elements?
Modern CSS pseudo-elements for styling without extra DOM nodes. Use when implementing view transitions, adding decorative layers, or styling native browser UI. Triggers on tasks involving ::before, ::after, view-transition, backdrop styling, or reducing JavaScript for visual effects. Source: raphaelsalaja/userinterface-wiki.
How do I install pseudo-elements?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/raphaelsalaja/userinterface-wiki --skill pseudo-elements Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/raphaelsalaja/userinterface-wiki
Details
- Category
- *Creative Media
- Source
- skills.sh
- First Seen
- 2026-02-01