Last active
November 3, 2021 05:09
-
-
Save hyeonseok/d3255bd2fb81b233c67220fc8319dbfd to your computer and use it in GitHub Desktop.
Default style which removes brower specific designs. Suitable for most of RWD sites.
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
/* reset */ | |
html { | |
-webkit-text-size-adjust: 100%; | |
} | |
button { | |
-webkit-tap-highlight-color: rgba(255,255,255,0); | |
-webkit-tap-highlight-color: transparent; | |
outline: 0 none; | |
} | |
button::-moz-focus-inner { | |
padding: 0; | |
border: 0; | |
} | |
button, | |
input, | |
textarea { | |
-webkit-appearance: none; | |
} | |
input[type=checkbox] { | |
-webkit-appearance: checkbox; | |
} | |
input[type=radio] { | |
-webkit-appearance: radio; | |
} | |
textarea { | |
resize: none; | |
} | |
a img { | |
border: 0 none; | |
} | |
/* base */ | |
html, | |
body { | |
height: 100%; | |
} | |
body, | |
button, | |
th, | |
td, | |
textarea { | |
font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif; | |
} | |
body { | |
margin: 0; | |
color: #444; | |
line-height: 1.6; | |
} | |
/* shared */ | |
a { | |
text-decoration: none; | |
color: #08c; | |
} | |
a:hover, | |
a:focus { | |
text-decoration: underline; | |
} | |
input[type=button], | |
input[type=submit], | |
.button { | |
display: inline-block; | |
padding: 0.2em 1.3em; | |
font-size: 1em; | |
text-decoration: none; | |
line-height: 1.6; | |
background-color: #08c; | |
color: #fff; | |
border: 0 none; | |
} | |
input[type=button]:hover, | |
input[type=button]:focus, | |
input[type=submit]:hover, | |
input[type=submit]:focus, | |
.button:hover, | |
.button:focus { | |
background-color: #2ae; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment