Created
March 3, 2020 03:35
-
-
Save dheysonalves/b661dec3aadc8f1a0e66a0c2ca321752 to your computer and use it in GitHub Desktop.
Global Css Style - Style Components
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 { createGlobalStyle } from 'styled-components'; | |
| export default createGlobalStyle` | |
| @import url('https://fonts.googleapis.com/css?family=Roboto&display=swap'); | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| outline: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| background: #191919; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| body, input, button { | |
| font: 14px sans-serif; | |
| } | |
| #root { | |
| max-width: 1020px; | |
| margin: 0 auto; | |
| padding: 0 20px 50px; | |
| } | |
| button { | |
| cursor: pointer; | |
| } | |
| ` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment