HTML, CSS, CSS3, Bootstrap Flashcards
What’s the purpose of CSS?
We want this to define visual stuff so that HTML is just defining markup.
What does CSS stand for?
Cascading Style Sheets
What is a selector in CSS?
{Property: value; Property:value}
Where do we store CSS?
External style sheet, internal style sheet or inline styles
What is the CSS box model?
Box for each element that specifies spacing around element
(inner to outer) content to padding to border to margin (you know the pretty thing you find when you click inspect on chrome and go to other tabs to debug your fucked up code)
How can we group?
h1, h2, p { color: green;}
we’re basically grouping these guys so we can apply the same styles. might be useful. idk.
What’s CSS3?
Newer CSS2. It has rounded corners, gradients and cool shit like transitions or animations, or even flexible box or grid layouts.
What’s the deal with Bootstrap?
“It’s a CSS library, if you will, that we can use to make all of our webpages look exactly the same” - Mitchell, 2k16
What does Bootstrap actually do?
It gives you default layouts and fonts and colour schemes.
Why doesn’t Mitchell like Bootstrap?
Because we can do it ourselves
Also every site looks the same. As if we didn’t know.
What does HTML stand for?
HyperText Markup Language. Come on guys.
What is HTML?
Expresses content and visual formatting
What is a style sheet?
set of rules that tell the browser how to present a document
In CSS, what two parts is a rule made up of?
Selector: specifies HTML tag to which the style rule applies
Style declaration: expresses the style property to be attached to the HTML tag mentioned in the selector
How do we embed CSS within HTML?
tag