On Thu, Sep 4, 2014 at 8:58 AM, Philippe Wittenbergh <e...@l-c-n.com> wrote:

>
> Le 4 sept. 2014 à 21:32, Tom Livingston <tom...@gmail.com> a écrit :
>
> > No doubt this will be something I'm asked to do in a page layout soon. I
> > was just watching this demo of a new Chrome extension:
> >
> > http://razvancaliman.com/writing/css-shapes-editor-chrome/
> >
> > A very handy thing indeed, but... my first thought when seeing the coffee
> > cup layout on that page is how do you provide a fallback for that?
>
> Perhaps this:
> http://blogs.adobe.com/webplatform/2014/05/12/css-shapes-polyfill/
>
> Also this gallery by the folks who implemented it in WebKit/Bink/Firefox:
> http://blogs.adobe.com/webplatform/2014/05/13/good-looking-shapes-gallery/
>
> Philippe
> --
> Philippe Wittenbergh
> http://l-c-n.com/



Thanks Philippe.

I was hoping it wouldn't be another polyfill. I use picturefill.js (and
subsequently matchmedia.js), as I feel it's use is ultimately for the
greater good, but I'm not a fan of polyfills. If I can avoid adding any
weight, then all the better. I don't use modernizr in every project either
- though it's very handy - but shapes seem like a tough thing to do a
fallback for without it. A fallback for shapes looks like a bit of work, as
opposed to the fallback for rem units, for example.

Seems like using modernizr to help you swap images with something that
allows legible text to run over it would be simplest. Next would be layout
changes, moving the images to another place on the page so the text doesn't
crash into it. Obviously it depends on each situation...


-- 

Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to