ECL Ratio


0.5.04 years ago4 years agoMinified + 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.