each CSS file contains a set of rules
each rule consists of a selector and a declaration block: <SELECTOR> { <DECL_BLOCK }
a declaration block consists of semi-colon delimited declarations: {
<DECL>;
<DECL>;
}
Back
cascading algorithm
Front
if multiple rules apply to an element then the browser determines which to apply in the following order:
Importance
Origin
Selector specificity
Order of appearance
Default values
Back
bootstrap purpose
Front
style pages dynamically with responsive web design
(grid system that stacks content vertically or horizontally based on content, default style changes to common elements, uses CSS and JS)
Back
selectors
Front
class selectors: e.g. .center, .foo
id selectors - selects an element by the ID attribute: e.g. #myID, #para1
element selector - selects all elements with the given name: e.g. p, div, h1
Back
bootstrap grid
Front
12 equal-sized columns which can be utilized via Bootstrap classes to build responsive page layouts quickly and reliably; 4 screensize classes (xs, sm, md, lg)
Back
definition and purpose
Front
cascading style sheets - dictate how HTML elements should be displayed
Back
declarations
Front
each declaration consists of a property and a value:
<PROPERTY> : <VALUE>
Back
association of HTML and CSS
Front
Inline: <p style="color:red;">This is a paragraph.</p>
Internal CSS: <head><style> MY CSS GOES HERE </style></head>
External CSS File: <link rel="stylesheet" type="text/css" href="webapps.css"> (preferred)