kpn / kpn-style

Reusable (style) packages for anyone working on front-end for KPN.
https://style.kpn.com
MIT License
17 stars 3 forks source link

Clarify how 'ratio' classes are used in base/media #13

Closed coenkoopmans closed 4 years ago

coenkoopmans commented 4 years ago

Description

On the page base/media, the following is written: "Use the ratio classes to keep elements in the same aspect ratio regardless of the specified width. You can use this when embedding images, videos, or other media objects."

There is one example of a 16:9 ratio class. It is not clear which ratio classes there are, and it is not exactly clear how to use them. (E.g. which display mode should an element have?)

Acceptance criteria