M
M
MeriPoppins2017-04-02 18:46:45
css
MeriPoppins, 2017-04-02 18:46:45

Styles for Safari - how to write in css?

I just can't prescribe separate styles for safari
. Found this
media screen and (-webkit-min-device-pixel-ratio:0) {
::i-block-chrome,.class {
width: 25%;
}
}
but it didn't work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Glebov, 2017-04-02
@SkiperX

maybe you need an autoprefixer and it will work.
there is also Modernizr, which adds a class with a specific property to the html root, and css is written based on this. so more efficient than customizing for a specific browser.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question