Last active
February 2, 2023 22:44
-
-
Save walternascimentobarroso/fdaefe4e4d21e3b65e159045efb9d2d1 to your computer and use it in GitHub Desktop.
My reset css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| scroll-behavior: smooth; | |
| } | |
| :root { | |
| font-size: 62.5%; /* 1rem = 10px */ | |
| --bg-color: #1a1924; | |
| --font-color: #e1e1e6; | |
| } | |
| body { | |
| background-color: var(--bg-color); | |
| font-size: 1.6rem; | |
| color: var(--font-color); | |
| height: 100vh; | |
| overflow: hidden; | |
| } | |
| body * { | |
| /* border: 0.1rem solid red; */ | |
| font-family: "Roboto", sans-serif; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment