Giter Site home page Giter Site logo

Comments (6)

crobi avatar crobi commented on July 17, 2024

I don't use Safari, so this might take a while.

According to this, Safari does not support unprefixed CSS flexbox, so this might be the source of the problem. It would be also consistent with the symptoms you're seeing.

I'm not sure I want to mess with prefixed CSS definitions, especially since Safari is currently the only browser that does not support unprefixed flexbox. So if the above is true and you really want this project to work in the current version of Safari, feel free to try to fix it and post a pull request.

from rpg-cards.

lotu avatar lotu commented on July 17, 2024

It is not a big deal for me to have this work in Safari. An easy "patch"
would be to add some sort of message/pop up to Safari users letting them
know that there is a bug with rendering the cards and they can get it to
work by using Chrome or Firefox. I was quite confused/frustrated until I
decided to try RPG Cards in Chrome myself.

On Tue Feb 03 2015 at 4:47:20 AM Robert Autenrieth [email protected]
wrote:

I don't use Safari, so this might take a while.

According to this http://caniuse.com/#feat=flexbox, Safari does not
support unprefixed CSS flexbox, so this might be the source of the problem.
It would be also consistent with the symptoms you're seeing.

I'm not sure I want to mess with prefixed CSS definitions, especially
since Safari is currently the only browser that does not support unprefixed
flexbox. So if the above is true and you really want this project to work
in the current version of Safari, feel free to try to fix it and post a
pull request.


Reply to this email directly or view it on GitHub
#22 (comment).

from rpg-cards.

crobi avatar crobi commented on July 17, 2024

CSS.supports('flex', '1'); can be used to detect the support for CSS flexbox.

from rpg-cards.

wereHamster avatar wereHamster commented on July 17, 2024

Rather than manually adding the prefixes, it would be more robust to post-process the css file with https://github.com/postcss/autoprefixer.

from rpg-cards.

crobi avatar crobi commented on July 17, 2024

Thanks for the hint, I will add autoprefixer as a gulp task to the next major version.

@yuvalsapir: As I won't be doing any major development on the current branch, feel free to post a pull request for your quick fix.

from rpg-cards.

crobi avatar crobi commented on July 17, 2024

Closing as safari now supports flexbox.

from rpg-cards.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.