Skip to main content
CSS-Tricks
  • Articles
  • Videos
  • Almanac
  • Newsletter
  • Guides
  • DigitalOcean
  • DO Community
Search

Articles Tagged
css paint api

9 Articles
{
,

}
Direct link to the article Honor prefers-color-scheme in the CSS Paint API with Custom Properties
css paint api prefers-color-scheme

Honor prefers-color-scheme in the CSS Paint API with Custom Properties

One of the coolest things I’ve been messing with in the last couple years is the CSS Paint API. I love it. I did a talk on it, and made a little gallery of my own paint worklets…

Avatar of Jeremy Wagner
Jeremy Wagner on Dec 27, 2021
Direct link to the article Creating Generative Patterns with The CSS Paint API
css paint api patterns

Creating Generative Patterns with The CSS Paint API

The browser has long been a medium for art and design. From Lynn Fisher’s joyful A Single Div creations to Diana Smith’s staggeringly detailed CSS paintings, wildly creative, highly skilled developers have — over the years — continuously pushed …

Avatar of George Francis
George Francis on Nov 24, 2021
Direct link to the article Exploring the CSS Paint API: Rounding Shapes
canvas css paint api houdini

Exploring the CSS Paint API: Rounding Shapes

Adding borders to complex shapes is a pain, but rounding the corner of complex shapes is a nightmare! Luckily, the CSS Paint API is here to the rescue! That’s what we’re going to look at as part of this “Exploring …

Avatar of Temani Afif
Temani Afif on Oct 22, 2021
Direct link to the article Exploring the CSS Paint API: Polygon Border
canvas clip-path css paint api houdini

Exploring the CSS Paint API: Polygon Border

Nowadays, creating complex shapes is an easy task using clip-path, but adding a border to the shapes is always a pain. There is no robust CSS solution and we always need to produce specific “hacky” code for each particular …

Avatar of Temani Afif
Temani Afif on Sep 20, 2021 (Updated on Oct 22, 2021)
Direct link to the article Exploring the CSS Paint API: Blob Animation
animation canvas css paint api houdini

Exploring the CSS Paint API: Blob Animation

After the fragmentation effect, I am going to tackle another interesting animation: the blob! We all agree that such effect is hard to achieve with CSS, so we generally reach for SVG to make those gooey shapes. But …

Avatar of Temani Afif
Temani Afif on Aug 30, 2021 (Updated on Oct 22, 2021)
Direct link to the article Exploring the CSS Paint API: Image Fragmentation Effect
canvas css paint api houdini

Exploring the CSS Paint API: Image Fragmentation Effect

In my previous article, I created a fragmentation effect using CSS mask and custom properties. It was a neat effect but it has one drawback: it uses a lot of CSS code (generated using Sass). This time I am …

Avatar of Temani Afif
Temani Afif on Aug 9, 2021 (Updated on Oct 22, 2021)
Direct link to the article Conjuring Generative Blobs With The CSS Paint API
css paint api

Conjuring Generative Blobs With The CSS Paint API

The CSS Paint API (part of the magical Houdini family) opens the door to an exciting new world of design in CSS. Using the Paint API, we can create custom shapes, intricate patterns, and beautiful animations — all with a …

Avatar of George Francis
George Francis on Jul 30, 2021
Direct link to the article Houdini.how
css paint api houdini

Houdini.how

Direct Link

Nice site from Google (and guest contributors) with a bunch of fun demos of what Houdini can do. Plus a write-up from Una. These are all Paint API demos. Houdini is technically a group of seven things that are all …

Avatar of Chris Coyier
Shared by Chris Coyier on Jan 1, 2021
Direct link to the article Simulating Drop Shadows with the CSS Paint API
css paint api houdini shadow

Simulating Drop Shadows with the CSS Paint API

Ask a hundred front-end developers, and most, if not all, of them will have used the box-shadow property in their careers. Shadows are enduringly popular, and can add an elegant, subtle effect if used properly. But shadows occupy a strange …

Avatar of Steve Fulghum
Steve Fulghum on Dec 29, 2020

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • DigitalOcean
  • DigitalOcean Community
  • About DigitalOcean
  • Legal
  • Agency Coaching
  • Free Credit Offer
CSS-Tricks
  • Email
  • Guest Writing
  • Book
  • Advertising
Follow
  • Mastodon
  • Twitter
  • Instagram
  • YouTube
  • CodePen
  • iTunes
  • RSS
Back to Top