Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Unified Styling API

Demonstrates all styling approaches in Blinc:

  • css! macro: CSS-like syntax with hyphenated property names
  • style! macro: Rust-friendly syntax with underscored names
  • ElementStyle builder: Programmatic style construction
  • CSS Parser: Runtime CSS string parsing

All approaches produce ElementStyle - a unified schema for visual properties.

Tip: Some demos are best viewed in a full browser window. Click “Open in a new tab” below for the full experience.

Open in a new tab · View source on GitHub