drtzb06222 2015-07-02 15:55
浏览 127

php - 使用php自动添加css前缀

I am building a php application which is automatically generating css stylesheet and I need it to be able to generate cross browser compatible css properties.

I found that autoprefixer do it, but it require Nodejs installation on user's server.

Is there a php class which don't require additional software installation on user's server?

  • 写回答

2条回答 默认 最新

  • douxian6008 2017-01-03 04:54
    关注

    Somebody has started on this, here:
    https://github.com/adamdodev/autoprefixer-php-native

    However it's still in alpha version and currently says:

    Work in Progress - Doesn't in any way work. If you stumble across this and like the idea, send me a message.

    But other than that, I have not yet found a fully-PHP version of a CSS auto-prefixer.

    评论

报告相同问题?