Demas ajustes
This commit is contained in:
@@ -148,35 +148,6 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% stylesheet %}
|
||||
.bestsellers.new-products {
|
||||
padding-top: 100px;
|
||||
}
|
||||
|
||||
.new-products__video {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.new-products.is-playing .new-products__video {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.new-products.is-playing .new-products__poster {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.bestsellers.new-products {
|
||||
padding-top: 40px;
|
||||
}
|
||||
}
|
||||
{% endstylesheet %}
|
||||
|
||||
{% javascript %}
|
||||
(() => {
|
||||
const reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
||||
|
||||
Reference in New Issue
Block a user