From 17bc97e1c0112e22cbb36427d64212e837a75686 Mon Sep 17 00:00:00 2001 From: Jooeun-K Date: Sat, 2 Jul 2022 18:28:23 +0900 Subject: [PATCH] enhancement/#11/globalstyle add globa.style.css --- src/index.js | 1 + src/styles/global.style.css | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/styles/global.style.css diff --git a/src/index.js b/src/index.js index 2c9b530..d66b201 100644 --- a/src/index.js +++ b/src/index.js @@ -4,6 +4,7 @@ import ChallengeListPage from "./pages/challenge/list/index.js"; import MainPage from "./pages/main/index.js"; import MyPage from "./pages/mypage/index.js"; import ChallengeDetailPage from "./pages/challenge/challengeId/index.js"; +import "./styles/global.style.css"; const root = document.querySelector(".App"); const BASE_URL = "http://localhost:3000/"; diff --git a/src/styles/global.style.css b/src/styles/global.style.css new file mode 100644 index 0000000..04bb4ba --- /dev/null +++ b/src/styles/global.style.css @@ -0,0 +1,30 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; + vertical-align: baseline; +} + +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file