Last active
February 16, 2022 15:11
-
-
Save pauloreis7/839cb89e166e673c2b2bdd145803789f to your computer and use it in GitHub Desktop.
Global responsive css styles
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
* { | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
} | |
:root { | |
//variables | |
} | |
@media (max-width: 1080px) { | |
html { | |
font-size: 93.75%; | |
} | |
} | |
@media (max-width: 720px) { | |
html { | |
font-size: 87.5%; | |
} | |
} | |
body { | |
background: //color; | |
color: //color; | |
text-rendering: optimizeLegibility !important; | |
-webkit-font-smoothing: antialiased !important; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
body, input, textarea, select, button { | |
font: 400 1rem 'YourFont', sans-serif; | |
} | |
h1, h2, h3, h4, h5, h6, strong { | |
font-weight: 500; | |
} | |
button { | |
cursor: pointer; | |
} | |
[disabled] { | |
opacity: 0.6; | |
cursor: not-allowed; | |
} | |
a { | |
color: inherit; | |
text-decoration: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment