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

Articles Tagged
SVG

206 Articles
{
,

}
Direct link to the article How I Made a Generator for SVG Loaders With Sass and SMIL Options
generator loader Sass SMIL SVG

How I Made a Generator for SVG Loaders With Sass and SMIL Options

While learning Vue.js, I started building free web tools that involved the exploration of SVG, with the goal of learning something about both! Let’s take a look at one of those tools: a generator that makes SVG loaders and …

Avatar of Mariana Beldi
Mariana Beldi on Aug 26, 2021
Direct link to the article Cutouts
clipping vs masking SVG

Cutouts

Ahmad Shadeed dug into shape “cutouts” the other day. Imagine a shape with another smaller shape carved out of it. In his typical comprehensive way, Ahmad laid out the situation well—looking at tricky situations that complicate things. …

Avatar of Chris Coyier
Chris Coyier on Aug 16, 2021
Direct link to the article SVG Gobbler
SVG

SVG Gobbler

Great little project from Ross Moody:

SVG Gobbler is a browser extension that finds the vector content on the page you’re viewing and gives you the option to download, optimize, copy, view the code, or export it as an image.

…
Avatar of Chris Coyier
Chris Coyier on Aug 6, 2021
Direct link to the article My Struggle to Use and Animate a Conic Gradient in SVG
conic gradients loader mix-blend-mode SVG

My Struggle to Use and Animate a Conic Gradient in SVG

The wonderful company I work for, Payoneer, has a new logo, and my job was to recreate it and animate it for a loader component in our app. I’ll explain exactly how I did it, share the problems I …

Avatar of Amit Sheen
Amit Sheen on Jul 8, 2021
Direct link to the article How to Create CSS Charts With Interesting Shapes, Glyphs and Emoji
charts css shapes emoji glyphs SVG

How to Create CSS Charts With Interesting Shapes, Glyphs and Emoji

Let’s forego the usual circles and bars we typically see used in charts for more eccentric shapes. With online presentations more and more common today, a quick way to spruce up your web slides and make them stand out is …

Avatar of Preethi
Preethi on Jun 21, 2021
Direct link to the article Adding Shadows to SVG Icons With CSS and SVG Filters
drop-shadow filter shadow SVG svg filters

Adding Shadows to SVG Icons With CSS and SVG Filters

Why would we need to apply shadows to SVG?

  1. Shadows are a common design feature that can help elements, like icons, stand out. They could be persistent, or applied in different states (e.g. :hover, :focus, or :active)
…
Avatar of Joel Olawanle
Joel Olawanle on Jun 11, 2021
Direct link to the article svg-loader: A Different Way to Work With External SVG
SVG SVG use

svg-loader: A Different Way to Work With External SVG

SVGs are awesome: they are small, look sharp on any scale, and can be customized without creating a separate file. However, there is something I feel is missing in web standards today: a way to include them as an external …

Avatar of Shubham Jain
Shubham Jain on May 19, 2021
Direct link to the article Swipey Image Grids
SVG

Swipey Image Grids

I hope people think of SVG as a vector format that is good for drawing things. There is plenty more to know, but here’s one more: SVG is good for composition. You draw things at very specific coordinates …

Avatar of Chris Coyier
Chris Coyier on May 3, 2021
Direct link to the article How to Add a Double Border to SVG Shapes
border shapes SVG

How to Add a Double Border to SVG Shapes

Let’s say someone asks you to add a double border to some random geometric SVG shapes. For some reason, you can’t use any graphic editor — they need to be generated at runtime — so you have to solve it …

Avatar of Mariana Beldi
Mariana Beldi on Apr 21, 2021
Direct link to the article Let’s Create an Image Pop-Out Effect With SVG Clip Path
clip-path hover SVG

Let’s Create an Image Pop-Out Effect With SVG Clip Path

Few weeks ago, I stumbled upon this cool pop-out effect by Mikael Ainalem. It showcases the clip-path: path() in CSS, which just got proper support in most modern browsers. I wanted to dig into it myself to get …

Avatar of Adrian Bece
Adrian Bece on Apr 2, 2021
Direct link to the article Creating Patterns With SVG Filters
SVG svg filters svg pattern

Creating Patterns With SVG Filters

For years, my pain has been not being able to create a somewhat natural-looking pattern in CSS. I mean, sometimes all I need is a wood texture. The only production-friendly solution I knew of was to use an external image, …

Avatar of Bence Szabó
Bence Szabó on Mar 15, 2021
  • Newer
  • 1
  • 2
  • 3
  • ...
  • 19
  • Older

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