Released
11/6/2015Skill Level Advanced
Duration
Views
- Hi I'm Chris Converse, and in this episode of Design the Web we'll explore a technique that will allow you to dynamically customize aspects of an SVG file through HTML and CSS with a little help from PHP. Through the use of PHP's header function, we can send the http header information of other types, letting us dynamically change data in a file before the server sends it to the user's browser. So we'll be using this technique to set colors in an SVG file using file references that we would use in standard HTML, CSS and even JavaScript.
And you can use this technique to build a library of reusable graphics that you can customize for any project or content management system that's build in PHP, including platforms like WordPress, Drupal, Joomla and many others. And finally, the exercise files for this course are available to all members. So download the files, and let's start dynamically customizing our SVG files with PHP.
Share this video
Embed this video
Video: Introduction to this course