Skip to content

Commit

Permalink
[FE] 반응형 디자인 적용 (#36)
Browse files Browse the repository at this point in the history
feat : 반응형 디자인 적용
  • Loading branch information
Novrule authored Feb 22, 2024
1 parent 17efeb2 commit 5cb132d
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions front/src/styles/Globalstyles.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,46 @@ const GlobalStyles = styled.createGlobalStyle`
font-family: "Pretendard";
src: url(/fonts/PretendardVariable.woff2) format("woff2");
}
html {
font-size: 20px;
}
@media (max-width: 1600px) {
html {
font-size: 18px;
}
}
@media (max-width: 1366px) {
html {
font-size: 16px;
}
}
@media (max-width: 1280px) {
html {
font-size: 14px;
}
}
@media (max-width: 1024px) {
html {
font-size: 12px;
}
}
@media (max-width: 768px) {
html {
font-size: 10px;
}
}
@media (max-width: 576px) {
html {
font-size: 8px;
}
}
`;

export default GlobalStyles;

0 comments on commit 5cb132d

Please sign in to comment.