css sleectors Flashcards

1
Q

css selector

A

used to select an lement to style

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

simple selectors

A

“elementname”

can select base on their name

{ p }

ID
#”element name”
- canno start with a number.

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

class selector

A

(.) period
- may also specify what html method should be used

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

unirveral

A

(*)
- lahat affected by the change

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

grouping

A

elements with the same style you want to apply
- minimzes code
- uses coma to seperate each eleement

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

specific class selector

A

p.intro

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

diff class selectors

A
  1. simple
  2. combinator (elemnts are somehow connected)
  3. psedo class selectors (certaint state)
  4. psedo-elements (style a part)
  5. attribute (style base on ther attribute)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly