Skip to content

Instantly share code, notes, and snippets.

@SergeyLitvin
Created February 25, 2019 15:01
Show Gist options
  • Save SergeyLitvin/e09f10d5ba3d492cba2b8d4c5719d0b1 to your computer and use it in GitHub Desktop.
Save SergeyLitvin/e09f10d5ba3d492cba2b8d4c5719d0b1 to your computer and use it in GitHub Desktop.
min-reset_styles
/* 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;
}
@SergeyLitvin
Copy link
Author

Min reset styles for landing page and other progects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment