mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:59:45 +00:00
размер картинок задан при помощи соотношения 4/5
This commit is contained in:
1 parent
8d07731c8a
commit
8c74e07ef2
1 file changed
+4
-7
@@ -53,15 +53,12 @@ $btn-primary-bg: linear-gradient(
|
|||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 360px;
|
aspect-ratio: 4 / 5;
|
||||||
border-radius: 8px;
|
|
||||||
object-position: top;
|
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
object-position: top;
|
||||||
|
border-radius: 8px;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
display: block;
|
||||||
@media (max-width: 768px) {
|
|
||||||
height: 460px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.caption {
|
.caption {
|
||||||
|
|||||||
Reference in new issue
Block a user