Skip to content

Instantly share code, notes, and snippets.

View KennethOdoh's full-sized avatar

kennethodoh KennethOdoh

View GitHub Profile
Effect Description Syntax Example
Scaling Magnifies or reduces the size of an element by a given factor. scale-by="3": Triples the size of a sticky.
Panning Moves the view to a specified section of the sticky (e.g., top-left corner). pan-to="-30px,30px": Pans 30 pixels left and 30 pixels down.
Zooming Enlarges a specific portion of the content to focus the reader’s attention. zoom-to="3": Zooms into line 3.
Highlighting Visually emphasizes a span of text or a line by changing its style or color. highlight="2-3": Highlights lines 2 to 3.