W3C home > Mailing lists > Public > www-style@w3.org > April 2016

Re: Support viewBox in CSS

From: Florian Rivoal <florian@rivoal.net>
Date: Tue, 12 Apr 2016 12:27:44 +0900
Cc: Sarah Drasner <sarah.drasner@gmail.com>, www-style@w3.org
Message-Id: <E6196069-4A63-4AB5-96C7-AAE8141DD319@rivoal.net>
To: Rachel Nabors <rachelnabors@gmail.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:02 UTC