Book Image

Beginning Responsive Web Development with HTML and CSS

By : Joshua Miller
Book Image

Beginning Responsive Web Development with HTML and CSS

By: Joshua Miller

Overview of this book

With this course, you can build websites that will transform the user experience. This course begins with the latest techniques provided by HTML5 and CSS3. Along the way, you'll discover tips and tricks that make your future designs and development workflow leaner and more maintainable than ever before. By the time you reach the end, you'll be equipped with the latest cutting edge front- end development skills, ready to develop your very own modern, responsive websites that are pixel-perfect across a wide range of devices. The code files are available at: https://github.com/TrainingByPackt/Beginning-Responsive-Web-Development-with-HTML-and-CSS
Table of Contents (9 chapters)
Chapter 9
Using SVGs for Resolution Independence
Content Locked
Section 3
Inserting SVGs
There are a number of things that you can do with SVG images that you can't do with normal image formats. The range of what's possible is largely dependent upon the way that the SVG is inserted into the page. So, before we get to what we can actually do with SVGs, we'll consider the various ways we can actually get them on the page in the first place. This video covers: - Inserting SVGs Into Your Web Pages - Using an img Tag - Using an object Tag - Data and Type Attribute - Demo on Inserting an SVG as a Background Image - Generating Image Sprites - Inserting an SVG Inline - Demo on Reusing Graphical Objects from Symbols - Allowing Different Colors in Different Contexts in Inline SVGs - Demo on Making Dual-Tone Icons that Inherit the Color of their Parent - What You Can Do With Each SVG Insertion Method?