Image 3to4 25%
CODE
×
HTML
<div class='img-3to4-25'></div>
CSS
div.img-3to4-25 { background-image: url('../img/portrait.jpg'); background-repeat: no-repeat; background-attachment: scroll; background-position: center center; background-size: cover; margin-bottom: 20px; padding-top: calc(33.33% - 11.3px); width: calc(25% - 8.5px); height: 0px; max-height: 0px; } @media screen and (max-width: 767px) { div.img-3to4-25 { padding-top: calc(66.67% - 11.3px); width: calc(50% - 8.5px); } }
JS
Image 3to4 25%
Letzte Änderung: 08.03.2023 - 15:28 Uhr
×