P
P
Pavel Chuev2018-04-02 20:00:32
css
Pavel Chuev, 2018-04-02 20:00:32

Stretching png on the site in IE11. How to fix?

There is a site that renders correctly in all browsers except IE11 and probably lower versions.
Namely: png stretches
R6JLZCKHEUA.jpg
Although in other browsers it looks like this:
FWACuEQlIMU.jpg
Here is everything that is written in CSS:

.home .advantages .item figure {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 70px;
    margin-bottom: 10px;
}

.home .advantages .item figure img {
    margin: auto;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey10, 2018-04-02
@AllDecay

.home .advantages .item figure {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display:flex;
height: 70px;
margin-bottom: 10px;
align-items: center;
}
Watch flex carefully, you need to use them wisely, otherwise ie will not forgive.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question