Quantcast
Channel: professional website design » Extension
Viewing all articles
Browse latest Browse all 175

Styling And Animating SVGs With CSS

$
0
0
CSS can be used to style and animate scalable vector graphics, much like it is used to style and animate HTML elements. In this article, which is a modified transcript of a talk I recently gave 1 at CSSconf EU 2 and From the Front 3 , I’ll go over the prerequisites and techniques for working with CSS in SVG. I’ll also go over how to export and optimize SVGs, techniques for embedding them and how each one affects the styles and animations applied, and then we’ll actually style and animate with CSS. Introduction Scalable vector graphics (SVG) is an XML-based vector image format for two-dimensional graphics, with support for interactivity and animation. In other words, SVGs are XML tags that render shapes and graphics, and these shapes and graphics can be interacted with and animated much like HTML elements can be. Animations and interactivity can be added via CSS or JavaScript.

Viewing all articles
Browse latest Browse all 175

Trending Articles