User Avatar

Creative leader: 🎨 Design, 🎯 Brand, 📦 Product, 🖥️ Technology

One Tactic All Successful CSS Artists Have In Common
Greg Robleto | Day 23

Creating works of art using the CSS coding language is a craft that taxes both the right brain for creativity and the left brain for the logical coding to craft that vision. That's a lot of brainpower working at once, so it helps to have a few bulletproof shortcuts to make the job easier.
Here's one used by the most successful CSS artists that I have met

CSS Artists use VMIN as the base unit of measurement.

The vmin (viewport minimum) unit is based on the viewport's size, which is the visible area of the browser window, be it on a phone, tablet, laptop, or large screen. This allows the artists to create their design once in an adaptable format that is responsive to each screen size and maintains its consistent shape. In other words, it doesn't get all janky if you are looking at it in a larger or smaller browser window.

Most art doesn't have such issues. A physical canvas does not change its shape, and the code to keep the design consistent is embedded into Illustrator or Photoshop (granted, pixelization occurs with non-vector graphics like those exported from Photoshop).

But for CSS Art, the receiver of the art dictates the proportions of the palette (aka the browser window size), so having vmin in the base font sizing is a key tactic for CSS Artists to make their work successfully consistent for all the art lovers who view it.