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

03Line numbers with a called-out line

The line numbers are counted with counter-increment and printed in ::before, not typed as text, so they never tag along when you copy. The called-out line carries its own background, and pointing at it raises a note saying why it matters.

Best forTutorials that must explain exactly one line of a long file

counter-increment::beforeuser-select
Line numbers with a called-out line
Open in a new tab

03 Line numbers with a called-out line — Measured area 14.751% · moving frames 22/23Original by GODRICH · SCSS and React ship in the zip · 9 Code Block UI Patterns — No Highlighter Library

The post this demo lives in

9 Code Block UI Patterns — No Highlighter Library - preview of all 9 demos9 Code Block UI Patterns — No Highlighter LibraryA code block UI is the small frame built around a snippet — header, copy button, tabs — that tells a reader what they ar See all demos in this post

If you like this effect - similar demos