Category: CSS

CSS / Reference / color: Foreground Colors, CurrentColor, and Contrast
Set foreground colors and reuse them through currentColor. Inspect inheritance, alpha compositing, readable contrast, and non-color state cues.

CSS / Reference / word-wrap: Legacy Alias and Min-Content Wrapping
Use overflow-wrap to manage long strings and understand the word-wrap alias. Compare anywhere with break-word in intrinsic sizing and flex or grid layouts.

CSS / Reference / word-break: Language-Sensitive Breaks Versus Emergency Wrapping
Choose word-breaking behavior for actual scripts and long strings. Compare normal, keep-all, and break-all, and distinguish deprecated break-word from overflow-wrap.

CSS / Reference / text-shadow: Glyph Shadows, Layers, and Contrast
Add text shadows without box-shadow-only syntax. Compare blur and layer order, preserve legibility, and avoid treating decoration as a contrast guarantee.

CSS / Reference / text-decoration: Decoration Propagation, Underlines, and Link Meaning
Style text decoration and compare parent-originated lines with child rules. Keep links identifiable and separate meaningful deletions from visual strike-through.

CSS / Reference / opacity: Group Transparency, Background Alpha, and Interaction
Fade an element and its children or make only its background translucent. Check stacking, contrast, keyboard focus, and the difference between transparency and hiding.

CSS / Reference / list-style-position: Inside and Outside Markers on Wrapped Items
Choose marker placement using wrapped text, list spacing, and actual child structure. Preserve list meaning and diagnose clipped outside markers.

CSS / Reference / line-height: Unitless Ratios, Inherited Lengths, and Line Boxes
Choose scalable line-height values and compare ratio inheritance with fixed lengths. Separate line boxes from paragraph margins and test larger child text.

CSS / Reference / clip: Understand Legacy Clip and Migrate to Clip-Path
Compare legacy clip boundaries with clip-path inset distances using a complete example. Learn the positioning conditions, size conversion and layout, stacking and accessibility checks needed during migration.

CSS / Reference / caption-side: Place a Table Caption Above or Below
Place captions visually while keeping them first in the table’s source structure. Match caption text to the data and check alignment, width, and writing direction.