CSS Flashcards

1
Q

What is CSS?

A

Cascading Style Sheets is a coding language used for deciding the presentation of a document written in a markup language like html or xml. Helps keep the information content of a document separate from the details of how it should be displayed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is CSS called “cascading”?

A

Refers to the inherent hierarchy between several different style sheets that can be active for a singe document at a time. The types are: Inline (body section), Internal/Embedded (the style for a single html), and External (a separate style sheet set once and on multiple web pages). Styles of higher precedence will override the rules of those with lower precedence. Specificity is used to decide which will apply to an element ie, Inline above Internal above External in the hierarchy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some CSS selectors?

A

Simple: select elements based on name, id (#), or class (.). Includes universal (*)

Element Selectors: grouping/element (h1, h2, p, etc) selectors
Combinator: select based on specific relationships between elements

Pseudo-class: select based on certain state

Pseudo-elements: select and style a part of an element

Attribute: select based on an attribute or attribute value mentioned in square brackets ie [type=“text”]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the Bootstrap?

A

A free, open-source, front-end development framework for the creation of websites and web apps. Designed to enable responsive development of mobile-first websites. Provides a collection of syntax for template designs. Allows for designers/developers to build completely responsive websites quickly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the Bootstrap grid?

A

A system that used a series of containers, rows, and columns to layout and align content. It is built with flexbox and is completely responsive. The grid allows for 12 columns across the page that can be grouped to create wider columns if you will.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly