General css to be included in every page

17 Sep

I include this css part in every page.
Its just a good practise to avoid some problems in css.

* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
/* customize your colors for selected text here */
::selection{
	background: #A50B0B;
	color: #E9E9E9;
}
::-moz-selection{
	background: #A50B0B;
	color: #E9E9E9;
}
body {
	line-height: 1;
	background: #f5f6f7;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

Thanks for visiting

Leave a comment