CSS Flashcards

1
Q

CSS def (4)

A
  • control the appearance of webpage
  • text file ending in .css
  • text file visible in a browser
  • text file with url
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CSS permits (4)

A
  • separate content from styling => workers can separate
  • style multiple webpages with one css file
  • website updating easier
  • optimize content for different devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CSS terminology (4)

A
  • selector = tag in html
  • proprety = atribute in html, visual characteristic
  • value = specfic value of that characteristic (red)
  • unit = unit of measurement (px, vw, vh, %)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

3 ways to style a webpage

A
  • css
  • internal styling : <style> in head</style>
  • in line styling : <style> for particular html tags</style>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How many ways to change colors in css + names

A

4
- name
- hsl
-rgb
- hex

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

tags in html we don’t use anymore

A

DEPRECATED

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

adding spaces outside the box

A

margin

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

adding spaces inside the box

A

padding

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

cascading rule

A

More specific rule override the more general rule*

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