Skip to main content
CSS-Tricks
  • Articles
  • Notes
  • Links
  • Guides
  • Almanac
  • Picks
  • Shuffle
Search

Articles Tagged
borders

3 Articles
{
,

}
Direct link to the article A CSS-Only Star Rating Component and More! (Part 1)
attributes borders forms

A CSS-Only Star Rating Component and More! (Part 1)

In this article, you'll learn how to make a full-on star rating component out of nothing but a single input element and vanilla CSS.
Temani Afif on Mar 7, 2025
Direct link to the article Fancy CSS Borders Using Masks (Zig-Zag, Wavy, and More)
borders gradients mask

Fancy CSS Borders Using Masks (Zig-Zag, Wavy, and More)

Have you ever tried to make CSS borders in a repeating zig-zag pattern? Like where a colored section of a website ends and another differently colored section begins — not with a straight line, but angled zig zags, rounded humps, …

Temani Afif on Jan 30, 2025
Direct link to the article border-collapse
border-collapse borders

border-collapse

The border-collapse property is for use on <table> elements (or elements made to behave like a table through display: table or display: inline-table).…

Sara Cope on May 20, 2022

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

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