xtodo css

.x {
 font-style: italic;
}

Borders & Accents
Apply to background with mask or border-image for creative frames.

/* Keyword values */
word-break: normal;
word-break: break-all;
word-break: keep-all;
word-break: auto-phrase; /* experimental */
word-break: break-word; /* deprecated */
/* Best practice - safe hover */
@media (hover: hover) {
  .menu-item:hover {
    color: red;
  }
}

/* Touch devices get different style */
@media (hover: none) {
  .menu-item {
    padding: 15px;        /* bigger touch targets */
  }
}
css font 2022-05-08 ZSXV
css font 2022-05-08 ZSXV

ai generated

top ten most important css features since 2015.

  1. CSS: grid layout → revolutionized two-dimensional layouts.
  2. CSS: Flexbox Layout
  3. CSS: Variable (Custom Property)
  4. Container Queries – lets components respond to their own size, not just the viewport.
  5. CSS: :has descendant selector
  6. CSS: nesting syntax
  7. Scroll Snap – smooth, controlled scrolling for carousels and pages.
  8. Aspect Ratio – the aspect-ratio property for maintaining proportions.
  9. Modern Color Functions – like oklch(), lch(), and lab() for better color control.
  10. CSS: cascade @layer

todo stuff