Selector { Ruleset }
with ruleset generally written as : property: value;, remember the semicolon(;)!
Example :
h1 {
color: blue;
}- Inline :
<h1 style="color:blue;">, no need to use selector for this - Internal : Using
<style>...</style> - External :
<link rel="stylesheet" href="style.css">
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}https://github.com/necolas/normalize.css
Given a and b as general element/selector
https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
@media not|only mediatype and (mediafeature and|or|not mediafeature) {
CSS-Code;
}