Skip to content

Instantly share code, notes, and snippets.

@giovanniantonaccio
Created September 23, 2019 17:41
Show Gist options
  • Save giovanniantonaccio/09834abdb382c3474ddf59b48a377a37 to your computer and use it in GitHub Desktop.
Save giovanniantonaccio/09834abdb382c3474ddf59b48a377a37 to your computer and use it in GitHub Desktop.
Reset CSS
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