Articles by

John Rhea

John is a storyteller with design and development skills. He likes cupcakes, the word "falafel" and using zombies to teach web development (https://undead.institute) His mom thinks he's very funny.

Direct link to the article ray()

ray()

The ray() function is used in combination with the offset-path property and creates a line segment, a ray. It lets you move or place an element using polar coordinates, i.e. coordinates based on a distance and an angle instead of Cartesian coordinates, where the X coordinate is on the horizontal axis and the Y coordinate is on the vertical axis.
Direct link to the article xywh()

xywh()

The CSS xywh() function allows you to create rectangles by setting the upper-left corner point and the width and height for use in the shape-outside, clip-path properties.