A
A
Anton2018-02-21 15:21:41
css
Anton, 2018-02-21 15:21:41

How to replace transform in Safari browser?

Transform: scaleY(0) does not want to work in Safari
How can I solve the layout problem?

.submenu {
    margin-top: 0px;
    background: #f5f5f5;
    position: fixed;
    border: 0px solid #ccc;
    left: 0%;
    z-index: 5;
    width: 100%;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: 0 0;
    transition: .1s ease-in-out;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stimulate, 2018-02-21
@Stimulate

-webkit-transform: scaleY(0); 
-ms-transform: scaleY(0);
transform: scaleY(0);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question