img mit css auf eine einheitliche Größe, Breite bringen, inkl eventuell abschneiden
bearbeitet von Matthias ScharwiesServus!
> ~~~ CSS
> img {
> width: 150px;
> aspect-ratio: 16 / 9;
> }
> ~~~
>
> Das ist die Eigenschaft: [CSS/Eigenschaften/aspect-ratio](https://wiki.selfhtml.org/wiki/CSS/Eigenschaften/aspect-ratio)
>
Grad auf Twitter gesehen: [CSS aspect-ratio is now supported cross-browser! It lets you set the proportion of an element's dimensions without padding-top hacks Smiling face with heart-shaped eyes Read more in http://web.dev/aspect-ratio http://mdn.io/aspect-ratio](https://twitter.com/addyosmani/status/1468483568166862848)
Herzliche Grüße
Matthias Scharwies
--
Einfach mal was von der [ToDo-Liste](https://wiki.selfhtml.org/wiki/Kategorie:ToDo) auf die Was-Solls-Liste setzen.“