IES: CSS-deck 4 Flashcards

1
Q

deck made you both I would stay with

CSS color names: w (3)

A
  • wheat
  • White
  • white smoke
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CSS color names: y (2)

A
  • yellow
  • Yellow green
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

color code forms

A
  • RGB
  • Color name
  • Hexadecimal number
  • HSL
  • the alpha value (or opacity value: usually the 4th value) (can be used with RGB, HEX #, and hsl only)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

hexadecimal number calculation: RGB

A
  • numbers go from 0 through f (0 being 0; f being 15)
  • Hexadecimal means values are calculated using a 16 digit base (normal numbering has a 10 digit base: 0 to 9)
  • To calculate each two digit number value, you do the following:
    1.) you multiply the second digit by 16 to the zero power (any digit to the zero power is equal to 1), so you multiply the second digit by 1. okay here we go7
    2.) multiply the first digit by 16 to the first power (any digit to the first power is equal to that same digit), so you multiply that first digit times 16.
    3.) now, Add the first result with the second result and you have your number for that section of the hexadecimal-whether it be R or red, G or green, or B or blue,
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

hexadecimal number calculation: A, alpha, or opacity value

A

1.) Multiply the opacity decimal value times 255.
2.) Fraction won’t convert to hexadecimal, so round number to the nearest whole number.
3.) Divide the result by 16 (the answer before the decimal is your first digital value for alpha)
4.) Multiply what’s behind the decimal by 16 (the answer is your second digital value for alpha

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

RGB number calculation: A, alpha, or opacity value

A

1.) take the given opacity percentage
2.) change the opacity percentage to a decimal
3.) the alpha or opacity value should be between 0.0 and 1.0

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

HSL number calculation

A
  • H: hue
  • S: saturation
  • L: lightness
  • Hue is a degree on the color wheel from 0 to 360 (0 is red, 120 is green, and 240 is blue).
  • Saturation is a percentage value. 0% means a shade of gray, and 100% is the full color.
  • Lightness is also a percentage. 0% is black, 50% is neither light or dark, 100% is white
  • The alpha or opacity value should be between 0.0 and 1.0 (0% to 100%) shit damn bitch fuck your ass fuck you up the ass so I would prefer to do I just saw it you know what I don’t think I turn that shit off so I put on my phone again see that shit all over it yep she is definitely good looking woman but to prefer for everybody you see that’s kind of very mm-hmm he was his three for the highest is 128
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

HSL hue color numbers

A
  • red: 0 degrees
  • green: 120 degrees
  • blue: 240 degrees
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

CSS: setting the background

A
  • the background can be set in two different ways:
    1. Background shorthand property: values can be specified in a space-separated list (values should appear in the listed order, but any value can be omitted)
    2. Individual properties: these can be specified to background-color, background-image, background-repeat, background-position, and background-attachment.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Background image property order code

A
  • background: color url(image.png) repeat position attachment;
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Background image default

A
  • positioned at element top left corner
  • Placed on a layer above the background color
  • Image repeatedly tiled across the element area
  • Has a scroll value (relates to the viewport): image will scroll along with the page
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Repeat-x

A
  • modifies default background tiling behavior
  • Restricts tiling pattern to one horizontal row
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Repeat-y

A
  • modifies default background tiling behavior
  • Restricts the tiling pattern to one vertical column
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

No-repeat

A
  • modifies default background tiling behavior
  • Value that restricts the image to a single copy placed at the top left corner
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Background property position values

A
  • horizontal: left, right, and center
  • Vertical: top, bottom, and center
  • scroll (default value)
  • Fixed-property specifying position of the image relative to the viewport when the page gets scrolled (fixed is the opposite of scroll)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

“pc”

A
  • picas
  • typographical unit of font height
  • six picas is equivalent to 1 inch
17
Q

“em”

A
  • (font size)
  • abstract typographical unit of font size
  • one em is equivalent to the height of a given font
18
Q

“ex”

A
  • (font size)
  • abstract typographical unit of font size
  • one ex is equivalent to the height of lowercase “x” in a font
  • often 50% of 1 em
19
Q

“px”

A
  • pixels
  • abstract unit
  • represents the dots on a computer monitor (where there are 1024px on each line when the monitor resolution is 1024x768)
20
Q

The possible comprising properties of a Content box border:

A
  • border-width
  • border-color
  • border-style