forked from M3-Academy/challenge-landing-page
adiciona banner mobile
This commit is contained in:
parent
aa86ba8378
commit
4d8c2e6933
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
BIN
assets/image/main-banner-mobile.png
Normal file
BIN
assets/image/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 KiB |
@ -0,0 +1,34 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.page-header{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: black;
|
||||
}
|
||||
|
||||
.image-header{
|
||||
display: block;
|
||||
padding: 28px 0;
|
||||
}
|
||||
|
||||
.main-banner{
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 425px){
|
||||
.banner-desktop{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 426px){
|
||||
.banner-mobile{
|
||||
display: none;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user