ECL Ratio


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
629Jun 22, 2021Jan 30, 2017Minified + gzip package size for @ec-europa/ecl-u-ratio in KB


Ratio utilities

You can use these utilities to quickly set a ratio for a block or a video. Just add the corresponding class to a wrapper element.

List of possible ratio:

  • .ecl-u-ratio-16-9: 16/9 ratio
  • .ecl-u-ratio-4-3: 4/3 ratio

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.