Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Living wiki of UI design patterns and best practices built with Fumadocs, Next.js, and Base UI components.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
rules/pseudo-marker-styling.md
1---2title: Use ::marker for Custom List Bullets3impact: LOW4tags: pseudo, marker, list, bullets5---67## Use ::marker for Custom List Bullets89Use ::marker to style list bullets without extra elements or background-image hacks.1011**Incorrect (background image hack):**1213```css14li {15list-style: none;16background: url("bullet.svg") no-repeat 0 4px;17padding-left: 20px;18}19```2021**Correct (native ::marker):**2223```css24li::marker {25color: var(--gray-8);26font-size: 0.8em;27}28```29