Skip to main content
CSS-Tricks
  • Articles
  • Alamanac
  • Guides
  • Videos
  • Books
  • Newsletter
Search

Articles Tagged
patterns

8 Articles
{
,

}
Direct link to the article CSS Checkerboard Background… But With Rounded Corners and Hover Styles
background gradients patterns repeating gradient

CSS Checkerboard Background… But With Rounded Corners and Hover Styles

On one hand, creating simple checkered backgrounds with CSS is easy. On the other hand, though, unless we are one of the CSS-gradient-ninjas, we are kind of stuck with basic patterns.

At least that’s what I thought while staring at …

Avatar of Preethi
Preethi on Sep 20, 2022
Direct link to the article How stroke-dasharray Patterns Work
patterns stroke-dasharray SVG

How stroke-dasharray Patterns Work

Say you have a line in SVG:

<svg<line x1="0" y1="30" x2="500" y2="30" stroke-color="#f8a100" /</svg

You can use the stroke-dasharray property in CSS to make dashes:

line {
  stroke-dasharray: 5;
}

That 5 value is a relative unit based …

Avatar of Geoff Graham
Geoff Graham on Jul 15, 2022
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 Creative Background Patterns Using Gradients, CSS Shapes, and Even Emojis
background gradients patterns

Creative Background Patterns Using Gradients, CSS Shapes, and Even Emojis

You can create stripes in CSS. That’s all I thought about in terms of CSS background patterns for a long time. There’s nothing wrong with stripes; stripes are cool. They can be customized into wide and narrow bands, criss-crossed …

Avatar of Preethi
Preethi on Jun 10, 2020
Direct link to the article Background Patterns, Simplified by Conic Gradients
conic gradients CSS gradients pattern patterns

Background Patterns, Simplified by Conic Gradients

For those who have missed the big news, Firefox now supports conic gradients!

Starting with Firefox 75, released on the April 7, we can go to about:config, look for the layout.css.conic-gradient.enabled flag and set its value to true…

Avatar of Ana Tudor
Ana Tudor on May 28, 2020
Direct link to the article More Unicode Patterns
patterns unicode

More Unicode Patterns

Creating is the most intense excitement one can come to know.

—Anni Albers, On Designing

I recently wrote a post — that was shared here on CSS-Tricks — where I looked at ways to use Unicode characters to …

Avatar of Yuan Chuan
Yuan Chuan on Jun 14, 2018
Direct link to the article Novapattern
patterns

Novapattern

curates well-designed patterns

Indeed it does!

Bonus: Lisbon Azulejos is full of lovely patterns created by Mathieu Grac based on tiles from the city of Lisbon. It has interesting UI to explore them. …

Avatar of Chris Coyier
Chris Coyier on Mar 22, 2017
Direct link to the article Websites to Generate SVG Patterns
patterns SVG

Websites to Generate SVG Patterns

These aren’t particularly hard to web search for, but just in case you didn’t know they existed I figured I’d drop them here. I’ve used all three of these in the past and I think they do a good job …

Avatar of Chris Coyier
Chris Coyier on Feb 28, 2017 (Updated on Aug 31, 2019)

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • About DO
  • Cloudways hosting
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Write for us!
  • Advertise with us
  • Contact us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • X
Back to Top