Skip to content

Commit

Permalink
feat: support 480px screen RWD
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiewentw committed Nov 25, 2017
1 parent 7a38065 commit 595d8c2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/css/banner-section.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,26 @@
}
}
}

@media screen and (max-width: 480px) {
.banner-section > .cat {
width: 255px;
height: auto;
}

.banner-section > .title {
width: 192px;
height: 102px;

&::before,
&::after {
width: 40px;
left: -60px;
}

&::after {
left: auto;
right: -60px;
}
}
}

0 comments on commit 595d8c2

Please # to comment.