forked from M3-Academy/practice-time-landing-page
feat(top): middle-image
This commit is contained in:
parent
46c3ce54ab
commit
1bd21ab0c3
BIN
assets/images/middle-banner-desktop.png
Normal file
BIN
assets/images/middle-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 946 KiB |
BIN
assets/images/middle-banner-mobile.png
Normal file
BIN
assets/images/middle-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 140 KiB |
@ -19,8 +19,10 @@ body{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.main-banner{
|
||||
.main-banner ,
|
||||
.middler-banner{
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
}
|
||||
.top-infocard{
|
||||
display: flex;
|
||||
@ -76,7 +78,8 @@ body{
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop{
|
||||
.main-banner-desktop,
|
||||
.middler-banner-desktop{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@ -125,12 +128,14 @@ body{
|
||||
}
|
||||
|
||||
@media screen and (min-width: 415px) {
|
||||
.main-banner-mobile{
|
||||
.main-banner-mobile,
|
||||
.middler-banner-mobile{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1920px) {
|
||||
.main-banner-desktop {
|
||||
.main-banner-desktop,
|
||||
.middler-banner-desktop {
|
||||
width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
@ -59,6 +59,10 @@
|
||||
<p class="top-card-description"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </p>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<img class="middler-banner middler-banner-desktop" src="./assets/images/middle-banner-desktop.png" alt="middler-banner-desktop"/>
|
||||
<img class="middler-banner middler-banner-mobile" src="./assets/images/middle-banner-mobile.png" alt="middler-banner-mobile"/>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user