Answer the question
In order to leave comments, you need to log in
Is it possible to make a slide disappear cross-browser?
Hello.
Immediately for clarity, I will give a link to codepen .
There is the following task. The site page has a slider ( slick ) with the following parameters:
$('.slider').slick({
centerMode: true,
centerPadding: '50px',
arrows:false
});
Answer the question
In order to leave comments, you need to log in
Overlay :before on top of an absolutely positioned image and apply a gradient to it via css
It is not possible cross-browser, but there is a mask-image for such an effect (example https://codepen.io/anon/pen/QzjEgq ).
But as part of Graceful Degradation, browsers that don't have mask-image support will display the version without the fading effect.
https://caniuse.com/#feat=css-masks
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question