Image
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.

Image
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.
Image
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.
Image
Direct link to the article shape()

shape()

The CSS shape() function enables us to more easily create complex paths, polygons and other shapes using a more human readable syntax using lines, arcs, and curves. It also allows much greater flexibility and responsiveness in the use of units than the CSS path() function.
Updated on