-
Notifications
You must be signed in to change notification settings - Fork 676
Open
Description
Loving Tachyons so far.
I've got some feature request ideas. In this example I've been using object-fit: cover;
to make the img
tag stretch the photo to full height. Using object fit has become more common in development lately. Unfortunately Tachyons only support .cover
which only affects background image.
Ideally I'd love to see something like this included in tachyons:
.object-cover {
object-fit: cover;
}
.object-contain {
object-fit: contain;
}
.object-fill {
object-fit: fill;
}
.object-contain {
object-fit: contain;
}
.object-scale-down {
object-fit: scale-down;
}
.object-none {
object-fit: none;
}
It's very useful when scaling images
ajusa, cedmax, jamesfisk, jamesmaino, psugihara-od and 3 more
Metadata
Metadata
Assignees
Labels
No labels