/* Adobe Color Wheel */
/* Canva Colors */
/* Coolors */
/* CSS Lint */
/* CSS Reference */
/* CSS Selectors */
/* Eric Meyers Reset */
/* Google Fonts */
/* Huemint */
/* PX to EM */
/* W3C CSS Validator */
Web safe fonts (e.g. Arial, Helvetica, and Georgia) vs. web fonts
@font-face {
font-family: "Emblema One";
src: url("http://wickedlysmart.com/hfhtmlcss/chapter8/journal/EmblemaOne-Regular.woff"), url("http://wickedlysmart.com/hfhtmlcss/chapter8/journal/EmblemaOne-Regular.ttf");
}
Width, height, padding, border and margin.
/* To have the box model respect the widths we explicitly set */
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
/* This will make it easier to change the box-sizing in plugins or other components that leverage other behavior */
}
Inline element e.g. a, strong, em, span - dimensions are determined by contents.
Block level elements get displayed on a new line, takes the width of the container and may contain additional block level / inline elements.
Inline-block elements display inline like a span but can be given explicit width, height, margin, or padding.
.some-parent {
/* Remove whitespace between inline-block elements */
font-size: 0;
}
e.g. Flexbox, inline-block, Twitter, Bootstrap