Created
February 25, 2019 15:01
-
-
Save SergeyLitvin/e09f10d5ba3d492cba2b8d4c5719d0b1 to your computer and use it in GitHub Desktop.
min-reset_styles
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 */ | |
body,div,dl,dt,dd,ul,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,input,textarea,p,blockquote,th,td{ | |
margin: 0; | |
padding: 0; | |
} | |
table{ | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
fieldset,img,abbr{ | |
border: 0; | |
} | |
address,caption,cite,code,dfn,em,strong,th,var{ | |
font-style: normal; | |
font-weight: normal; | |
} | |
ul li{ | |
list-style: none; | |
} | |
caption,th{ | |
text-align: left; | |
} | |
h1,h2,h3,h4,h5,h6{ | |
font-size: 100%; | |
font-weight: normal; | |
} | |
sup{ | |
vertical-align: text-top; | |
} | |
sub{ | |
vertical-align: text-bottom; | |
} | |
input,textarea,select{ | |
font-family: inherit; | |
font-size: inherit; | |
font-weight: inherit; | |
} | |
legend{ | |
color: #000; | |
} | |
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,main{ | |
display: block; | |
} | |
img{ | |
max-width: 100%; | |
height: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Min reset styles for landing page and other progects