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
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
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, %)
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>
5
Q
How many ways to change colors in css + names
A
4
- name
- hsl
-rgb
- hex
6
Q
tags in html we don’t use anymore
A
DEPRECATED
7
Q
adding spaces outside the box
A
margin
8
Q
adding spaces inside the box
A
padding
9
Q
cascading rule
A
More specific rule override the more general rule*