refactor: ajusta banners com tag picture
This commit is contained in:
parent
9c0f2d36cd
commit
9b96ef4bf0
@ -283,11 +283,7 @@ body{
|
||||
/*MOBILE*/
|
||||
@media screen and (max-width: 1024px) {
|
||||
.m3{
|
||||
width: 54,62%;
|
||||
}
|
||||
|
||||
.banner-main-desktop{
|
||||
display: none;
|
||||
width: 54.62%;
|
||||
}
|
||||
|
||||
.top-infocard-text{
|
||||
@ -414,9 +410,6 @@ body{
|
||||
|
||||
/*DESKTOP*/
|
||||
@media screen and (min-width: 1025px) {
|
||||
.banner-main-mobile{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.article-figure-mobile{
|
||||
display: none;
|
||||
|
@ -26,9 +26,9 @@
|
||||
<main>
|
||||
|
||||
<picture>
|
||||
<img class="main-banner banner-main-desktop" src="/assets/images/banner-top-desktop.png" alt="Banner principal desktop" />
|
||||
|
||||
<img class="main-banner banner-main-mobile" src="/assets/images/banner-top-mobile.png" alt="Banner principal mobile" />
|
||||
<source media="(max-width: 1024px)" srcset="/assets/images/banner-top-mobile.png" />
|
||||
<source media="(min-width: 1025px)" srcset="/assets/images/banner-top-desktop.png" />
|
||||
<img class="main-banner" src="/assets/images/banner-top-mobile.png" alt="Banner principal" />
|
||||
</picture>
|
||||
|
||||
<section class="top-infocard">
|
||||
|
Loading…
Reference in New Issue
Block a user