Tim Kadlec 4/11/2013

Media Queries within SVG

Read Original

This technical article discusses embedding CSS media queries directly within SVG files, a technique for making vector graphics responsive to their own display size. It covers practical applications (like hiding a logo's slogan at small sizes), explains how the queries work relative to the image vs. viewport, and provides detailed browser support test results for SVG used as background images and IMG elements.

Media Queries within SVG

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week