Skip to content
中文

Ice crackleCrackle

An ice-crackle fill, taken from the irregular lines of lattice windows and of crazed glaze on porcelain.

Demo

Usage

It is a <div class="hao-crackle" role="presentation">, 40px tall; the pattern tiles across and down the block it sits in.

  • Its color is pattern, low in contrast, a fill only; no text or controls on top of it.
  • Use it where a “window” is wanted: the illustration spot of an empty state, a corner of a cover, one side of a card. Choose between this and the wave pattern; different screens may take turns.
  • Its lines are straight and of unequal length, the opposite of the wave’s arcs: water is soft, ice is hard. Use it when the content is quiet and cool.
  • It counts as one scene—at most one per screen; see the three rules in the guide.

Accessibility

  • It is decoration: as in the preview, give it role="presentation", and a screen reader says nothing.