2019-11-23
Flex image stretched out fix
Sometimes when working with flex, the image is stretched out. It may not be the expected behaviour. It's because align-self
is set to stretched
by default.
img {
align-self: flex-start;
}
Sources
Sometimes when working with flex, the image is stretched out. It may not be the expected behaviour. It's because align-self
is set to stretched
by default.
img {
align-self: flex-start;
}
Sources
Comments