Usual Template
* {
margin: 0;
padding: 0;
box-sizing: border-box;
/* get rid of the miserable chrome blue border highlight */
-webkit-tap-highlight-color: transparent;
/* disable text highlight */
/* user-select: none; */
}
*:focus {
outline: none;
}
Custom Font
@font-face {
font-family: 'Bebas Neue';
src: url('../fonts/BebasNeue-Regular.ttf');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Source Sans Pro';
src: url('../fonts/SourceSansPro-BlackItalic.ttf');
font-weight: 900;
font-style: italic;
}
Find element causing overflow
* {
outline: 1px solid #f00 !important;
}