From the course: SVG: Clipping, Masking, and Filters

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

A basic clipping example

A basic clipping example

From the course: SVG: Clipping, Masking, and Filters

Start my 1-month free trial

A basic clipping example

- The best way to make sense of the features we'll cover in this course is to see them in action, so in the exercise files for this course, I've built example playgrounds for each of the features we'll cover. The files are organized by chapter, so right now we're in chapter one and looking at the clip path example. Each of the examples will appear as you see them here in my browser. You'll have the name of the feature, then the short description from MDN, then a direct link to the MDN docs for that feature and a W3C specification. That way if you want to know more about the feature, or you want to know how it's specified, you can go directly to the source material. At the bottom, you have the SVG with the feature applied and in this case, we are looking at the clip path so you can see we have an image that's been clipped into a circle. Looking over in the code editor, you see we're working with a standard HTML document here, and this document will be pretty much exactly the same for…

Contents