Comments (4)
Do you mean to switch the syntax of the current plugin to aspect-ratio: 16/9
?
from postcss-aspect-ratio-mini.
Yes, currently the plugin use aspect-ratio: "16:9";
while the upcoming css syntax is aspect-ratio: 16/9;
. In this way, this plugin can be used as "polyfill" of the native syntax until it will gain wide support.
Probably the best way to improve this is to allow both syntaxes to avoid breaking changes.
from postcss-aspect-ratio-mini.
Native CSS aspect-ratio
demo https://jsbin.com/kupebesidi/edit?html,css,output
from postcss-aspect-ratio-mini.
@equinusocio Please take a look at PR #7
from postcss-aspect-ratio-mini.
Related Issues (10)
- 关于配置 HOT 2
- Introduce test cases for WPT to make the syntax more compliant
- Migration of Travis to GitHub Action
- .postcssrc.js配置转vue里的css没效果 HOT 1
- 为啥 padding-top 里面的内容 是引号引起来的? HOT 6
- 大神,双引号有问题,能不能支持双引号 HOT 5
- ESlint Unknown property: 'aspect-ratio' HOT 1
- 17777777777777776 is beyond boundary when transfer to integer
- Remove support for | and : separators
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postcss-aspect-ratio-mini.