
Learn what SVGs are and how to use, style, transform, and animate scalable vector graphics with paths, text, and JavaScript, emphasizing sizing, responsiveness, accessibility, and SEO.
Compare vector SVG with raster images, showing how SVGs stay sharp and scalable with smaller file sizes for faster, responsive web pages.
Explore where SVGs come from and how to obtain, author, or code them using SVG repo, Undraw, Inkscape, Illustrator, or CodePen, with a focus on paths and embedding.
Explore Visual Studio Code and CodePen as primary tools for editing SVGs. Use live server previews and Emmet to rapidly generate HTML and see real-time SVG changes.
Discover multiple ways to add SVGs to a web page, including image, object, iframe tags, CSS backgrounds, and inline SVG, for flexible, fast-loading graphics.
Explore the SVG code behind vector graphics by examining elements and attributes. Work in Visual Studio Code to view SVGs with circles, paths, gradients, and g elements.
Learn to render SVG visual elements on a web page by placing circle, rectangle, ellipse, line, polyline, and polygon inside SVG tags, using position, size, and color attributes.
Learn the svg structural container, including defs for reusable objects, the g group, and the use element to duplicate nodes. Discover the symbol element for reusable graphic templates and icons.
Explore SVG attributes and their categories—generic, presentation, animation, event, and filter—with examples like stroke width, stroke opacity, line cap, and line join; learn inline and CSS value assignment.
Learn how to style SVG elements using presentation attributes and CSS options: inline, internal, and external stylesheets; apply classes and IDs to circles, and understand how CSS overrides presentation attributes.
Explore SVG paths and path element, using the d attribute and its six commands—move to, line to, cubic bezier, quadratic bezier, arc, close path, to understand and manipulate SVG shapes.
Master move to and line to SVG path commands, learn that uppercase commands use absolute coordinates and lowercase use relative coordinates, and use horizontal and vertical variants to draw segments.
Explore svg path commands for curves and arcs, mastering quadratic and cubic bezier curves and arc parameters like rx, ry, x-axis rotation, and large-arc and sweep flags.
View and edit svg paths by examining the balloon svg, adjusting path commands and cubic bezier curves, and copying elements into a CodePen svg to see live changes.
Demonstrates how to render and style SVG text with the text element, including x/y positioning, text-anchor, dominant baseline options, tspan subtext, and techniques like letter spacing, rotation, and writing mode.
Learn to place text along SVG paths using the textPath element and referenced paths. Manipulate baseline shift, letter spacing, startoffset, and transforms to center text on curves or circles.
Explore how SVG sizing works by mastering the viewport and viewBox. Learn how coordinate systems define what you see and practice zooming and panning with practical examples.
Explore SVG sizing and aspect ratios through viewBox, preserveAspectRatio, and meet or slice, using the monarch butterfly SVG to demonstrate responsive behavior in a div container.
Demonstrate SVG transforms, including translate, rotate, scale, and skew, using defs and use, viewbox origin, and transform-origin tricks to rotate around corners or centers.
Learn to animate svgs with css using keyframes and the animation property, applying transforms and color changes to svg shapes and text, including svg-specific properties like fill and letter spacing.
Explore built-in SVG animations with the animate element, animate motion, and animate transform, including animation timing and value attributes like begin, duration, from-to, and key times.
Learn to create SVG line drawings by animating stroke dasharray and dashoffset, converting hello world text to a single path in Inkscape and animating it in CodePen.
Explore SVG gradients, including linear and radial types, with stops, offsets, and opacities; learn to define gradient directions using x1, y1, x2, y2 and apply them via id references.
Explore how SVG filters blur, distort, and color images by combining filter primitives defined in a defs block, using in and result attributes to control sequential effects.
Explore svg clip paths and masks to create hard-edged clipping and feathered transparency, using clipPath and mask elements with unique ids and codepen examples.
Learn how to manipulate SVG with JavaScript by creating elements with document.createElement, setting attributes, and appending circles to the page, then toggle CSS animations with classList and event listeners.
This course is all about SVGs - Scalable Vector Graphics. We cover where to find and download SVGs, how to author SVGs in programs such as Inkscape and Illustrator, and ways to add SVGs to your web pages. But the primary focus is toward understanding the underlying text-based code of SVGs. We show how to view, comprehend, write, and modify markup by detailing the definitions and uses of numerous SVG elements and attributes. We cover such topics as:
How to code for basic shapes such as circles, lines, curves, and polygons.
How to understand paths and the commands used for drawing them.
How to add artistic text elements to a SVG.
How to target and style specific SVG elements using CSS or presentation attributes.
How to understand viewports, viewBox, sizing, and positioning of SVG elements.
How SVG elements can be transformed or animated.
How to implement gradients, filters, clip-paths, and masks.
How to create, modify, or remove SVG elements from a web page using JavaScript.
How titles, descriptions, roles, and aria attributes can be used for SVG accessibility and SEO.
Prior coding experience is not absolutely necessary as this course provides a good overview of SVG fundamentals. But to really get the most out of the lessons, it helps to have knowledge of or experience with HTML5 and CSS3.