Re: Support viewBox in CSS

Not sure I've worked out the implications on how this would work with all the other pieces of the puzzle, but at first glance this seems useful and would solve problems I had been thinking about (responsive slideshows).

 - Florian

> On Apr 12, 2016, at 02:53, Rachel Nabors <rachelnabors@gmail.com> wrote:
> 
> Also supporting this proposal.
> On Mon, Apr 11, 2016 at 10:27 AM Sarah Drasner <sarah.drasner@gmail.com <mailto:sarah.drasner@gmail.com>> wrote:
> Hi,
> I would like to support Jake Archibald's proposal, https://lists.w3.org/Archives/Public/www-style/2016Feb/0328..html#options3 <https://lists.w3.org/Archives/Public/www-style/2016Feb/0328..html#options3> to move the viewBox, or view-box, as stated in the proposal into the CSS spec. Currently if you need to adjust the viewBox for responsive development, which is a very useful use-case, you have to use JavaScript for the behavior of a simple media query. Using a CSS media query would be nice in a multitude of implementations, including but not limited to SVG sprites or Infographics. I've written an article for a few ways of working with it here: http://www.creativebloq.com/web-design/how-create-animations-scale-all-devices-31619478 <http://www.creativebloq.com/web-design/how-create-animations-scale-all-devices-31619478>
> 
> Thanks for your time and attention.
> Best wishes,
> Sarah
> 
> 
> -- 
> Sarah Drasner
> http://sarahdrasnerdesign.com/ <http://sarahdrasnerdesign.com/>
> 
> -- 
> Curator of Web Animation Weekly
> Speaking & Workshops
> • Apr 05 –06 SmashingConf, San Francisco
> • Apr 21 Frontend Masters, online, CSS Animations and Transitions Master Class
> • May 18 –20 Front-Trends Keynote, Warsaw
> • Jun 01 CSSconf Nordic, Oslo

Received on Tuesday, 12 April 2016 03:28:10 UTC