GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

07Measuring Width to Hold or Scroll

If the phrase has fewer columns than the visible VIEW_COLS it holds still in the center, and if it has more it scrolls. Phrases swap in turn so short ones stop and only long ones flow, and one function that counts columns decides both branches.

Best forA rule that picks the easier reading mode for a board whose phrase length changes every time

VIEW_COLScolCountholdOrScroll
Measuring Width to Hold or Scroll
Open in a new tab

07 Measuring Width to Hold or Scroll — Measured area 12.04% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Dot Matrix Display: 9 Canvas LED Sign Scenes

The post this demo lives in

Dot Matrix Display: 9 Canvas LED Sign Scenes - preview of all 9 demosDot Matrix Display: 9 Canvas LED Sign ScenesHow does an LED sign turn a letter into dots? 01 lights only the 1 cells of a 5x7 table, 03 leaves an afterglow on dark See all demos in this post

If you like this effect - similar demos