Created
September 23, 2019 17:41
-
-
Save giovanniantonaccio/09834abdb382c3474ddf59b48a377a37 to your computer and use it in GitHub Desktop.
Reset CSS
This file contains 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:400,700&display=swap'); | |
* { | |
margin: 0; | |
padding: 0; | |
outline: 0; | |
box-sizing: border-box; | |
} | |
*:focus { | |
outline: 0; | |
} | |
html, body, #root { | |
height: 100%; | |
} | |
body { | |
-webkit-font-smoothing: antialiased; | |
} | |
body, input, button { | |
font: 14px 'Roboto', sans-serif; | |
} | |
a { | |
text-decoration: none; | |
} | |
ul { | |
list-style: none; | |
} | |
button { | |
cursor: pointer; | |
} | |
`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment