All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

css-doodle: A Web Component for Creating CSS Patterns and Artistic Designs

By

dsego

3mo ago· 17 min readen

Summary

css-doodle is a web component that allows developers to create artistic patterns and designs using CSS Grid and custom properties. The article serves as documentation and introduction to the tool, explaining how to get started by including it via CDN, npm, or ES modules. It demonstrates basic usage with an example that creates a colorful grid pattern using CSS custom properties and mathematical calculations. The component enables creative coding directly in HTML/CSS without requiring complex JavaScript.

Key quotes

· 5 pulled
css-doodle is a web component for drawing patterns with CSS
Download the latest version or include it directly from a CDN
You can also use ES Modules in modern browsers
If you're using a build tool, you can install it via npm and import it in JavaScript
Start creating!
Snippet from the RSS feed
A web component for drawing patterns with CSS

You might also wanna read