Common CSS Terms Flashcards

1
Q

Has no effect on the display of the page that’s styled; it’s for the CSS author to read and better understand the code.

A

Comments

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

A single section of CSS including the selector, the curly braces, and the different lines with properties and values.

A

Rule Set

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

The section of CSS where the property/value pairs appear.

A

Declaration Block

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

Any single line of CSS that appears between the curly braces, whether shorthand or longhand.

A

Declaration

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

What appears before the colon in any line of CSS.

A

Property

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

What appears immediately after the colon in any line of CSS.

A

Value

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

The part of the CSS line that selects what element to target with the property/value pair.

A

Selector

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

A selector that targets an element by the tag name.

A

Element Type Selector

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

Targets an element by its class attributes.

A

Class Selector

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

Targets an element by its unique ID

A

ID Selector

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

Matches any element within the context in which it’s placed in a selector.

A

Universal Selector

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

Selects an element to style based on an attribute and/or attribute value.

A

Attribute Selector

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

Works similarly to a regular CSS class, except it’s not explicitly declared in the HTML.

A

Pseudo Class

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

Target “virtual” elements that can change depending on the actual HTML.

A

Pseudo Element

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

The character in a selector that connects two selectors together.

A

Combinator

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

The Four Combinators

A

’>’, ‘~’, ‘+’, ‘ ‘

17
Q

An instruction given in a CSS document using the @ character

A

At Rule

18
Q

Any at-rule or rule set

A

A Statement

19
Q

Can be anything that appears as a property, id, class, keyword value, and at-rule.

A

Identifier

20
Q

A value for a property and is somewhat like a reserved word for a particular property.

A

Keyword