C777 Unit 2: Cascading Style Sheets (CSS)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/123

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

124 Terms

1
New cards

element[attribute$=value]

Which selector targets every instance of a specified HTML element whose specified attribute ends with the specified value?

2
New cards

element[attribute*=value]

Which selector targets every instance of a specified HTML element whose specified attribute contains the specified substring value?

3
New cards

element[attribute^=value]

Which selector targets every instance of a specified HTML element whose specified attribute begins with the specified value?

4
New cards

element:checked

Which selector targets every checked instance of a specified HTML element?

5
New cards

element:disabled

Which selector targets every disabled instance of a specified HTML element?

6
New cards

element:enabled

Which selector targets every enabled instance of a specified HTML element?

7
New cards

element:first-of-type

Which selector targets every instance of a specified HTML element that is the first of its parent?

8
New cards

element:last-of-type

Which selector targets every instance of a specified HTML element that is the last of its parent?

9
New cards

element1~element2

Which selector targets every instance of element2 that is preceded by an instance of element1?

10
New cards

background

Properties are in this order:

background: bg-color bg-image position/bg-size bg-repeat bg-origin bg-clip bg-attachment initial|inherit;

Which property allows you to set different background properties in one declaration?

11
New cards

background-clip

Key values for this property:

border-box - extends behind the border

padding-box - extends to the inside edge of the border

content-box - extends to the edge of the content box

Which property specifies whether the background extends into the border or not?

12
New cards

background-origin

Key values for this property:

padding-box - from the upper left corner of the padding edge

border-box - from the upper left corner of the border

content-box - from the upper left corner of the content

Which property positions the background-image relative to an element's border, padding or content?

13
New cards

background-size

Key values for this property:

length - specifies width and height in fixed units

percentage - specifies width and height in in relation to the parent element

cover - cover the entire container, even if it has to stretch the image or cut a little bit off one of the edges

contain - resize the background image to make sure the image is fully visible

Which property defines the size of background images?

14
New cards

border-image

Which property creates a border that uses an image instead of a line?

15
New cards

border-radius

Which property defines the shape or curve of a border around an HTML element?

16
New cards

box-shadow

Which property applies shadows to edges of HTML elements to create visual depth?

17
New cards

h-shadow and v-shadow

Which two values are required to create a box-shadow?

18
New cards

opacity

Which property specifies transparency for an HTML element?

19
New cards

resize

Which property defines whether an HTML element can be resized by the user and how it can be resized?

20
New cards

text-overflow

Which property cuts off, or clips, text that extends beyond its container?

21
New cards

text-shadow

Which property applies shadows to edges of text characters to create visual depth?

22
New cards

@font-face

Which rule allows developers to specify custom fonts?

23
New cards

font-family — specifies the font name

src — identifies the font file's location by URL

Which two properties are required to specify a custom font?

24
New cards

font-stretch

Which property specifies how the font should be stretched or spaced?

25
New cards

font-style

Which property specifies how the font should be styled vertical or slanted?

26
New cards

font-weight

Which property specifies the weight or thickness of each character in the font?

27
New cards

unicode-range

Which property specifies the range of UNICODE characters that should be downloaded for the font, based on availability?

28
New cards

hanging-punctuation

Which property specifies whether (and how) punctuation characters can appear outside the line box at the beginning or end of a full line of text?

29
New cards

punctuation-trim

Which property specifies whether (and how) punctuation characters can be trimmed or sized when they appear at the beginning or end of a line?

30
New cards

text-align-last

Which property specifies a justification style for the last line in a text block whose text-align property is set to "justify"?

31
New cards

text-emphasis

Which property applies emphasis style and color to an HTML element's text in a single declaration?

32
New cards

text-justify

Which property specifies a justification style for text whose text-align property is set to "justify"?

33
New cards

text-wrap

Which property specifies whether lines of text in a text area can break, and where a line can be broken. This property is no longer supported?

34
New cards

word-break

Key values for this property:

break-all - word may be broken at any character

break-word - word may be broken at arbitrary points

Which property specifies whether lines of text in a text area can break, and where a line can be broken?

35
New cards

word-wrap

Key values for this property:

normal - Break words only at allowed break points

break-word - Allows unbreakable words to be broken

Which property specifies that long words in a text area may be broken without a hyphen and wrap to the next line?

36
New cards

transform

Which property applies a 2D or 3D transformation to an HTML element, including rotating, moving, skewing, scaling and so forth?

37
New cards

transform-origin

Which property allows you to change a transformed HTML element's position?

38
New cards

transform-style

Which property specifies whether child elements will retain the parent element's position in 3D space?

39
New cards

perspective-origin

Which transform value specifies the bottom position of a 3D element?

40
New cards

backface-visibility

Which transform value defines whether or not an element is visible when it is rotated to face away from the viewer?

41
New cards

transform:rotate(angle)

Which transform value rotates the HTML element clockwise at the specified degree?

42
New cards

transform:scale(x,y)

Which transform value increases or decreases the size of the HTML element, based on specified parameters for width and height?

43
New cards

transform:scaleX(n)

Which transform value changes the HTML element's width?

44
New cards

transform:scaleY(n)

Which transform value changes the HTML element's height?

45
New cards

transform:matrix(n,n,n,n,n,n)

Which transform value combines all of the 2D transform methods into one?

46
New cards

transform:translate(x,y)

Which transform value moves the HTML element from its current position, based on the specified parameters for the left and top position?

47
New cards

transform:translateX(n)

Which transform value moves the HTML element horizontally?

48
New cards

transform:translateY(n)

Which transform value moves the HTML element vertically?

49
New cards

transform:skew(x-angle,y-angle)

Which transform value turns or skews the HTML element to a specified angle, based on the specified parameters for the horizontal and vertical lines?

50
New cards

transform:skewX(angle)

Which transform value turns or skews the HTML element to a specified angle along its X-axis?

51
New cards

transform:skewY(angle)

Which transform value turns or skews the HTML element to a specified angle along its Y-axis?

52
New cards

transform:rotateX(angle)

Which transform value rotates the HTML element around its X-axis at the specified degree?

53
New cards

transform:rotateY(angle)

Which transform value rotates the HTML element around its Y-axis at the specified degree?

54
New cards

transform:rotateZ(angle)

Which transform value rotates the HTML element around its Z-axis at the specified degree?

55
New cards

transform:rotate3d(x,y,z,angle)

Which transform value defines a 3D rotation by specifying the degree for rotation for all axes?

56
New cards

transform:scale3d(x,y,z)

Which transform value increases or decreases the size of the HTML element, based on specified parameters for width, height and depth?

57
New cards

transform:scaleX(x)

Which transform value defines a 3D scale transformation by specifying a value for the X-axis?

58
New cards

transform:scaleY(y)

Which transform value defines a 3D scale transformation by specifying a value for the Y-axis?

59
New cards

transform:scaleZ(z)

Which transform value defines a 3D scale transformation by specifying a value for the Z-axis?

60
New cards

transform:translate3d(x,y,z)

Which transform value defines a 3D translation using specified parameters for positions on the X-axis, Y-axis and Z-axis?

61
New cards

transform:translateX(x)

Which transform value defines a 3D translation using only the value for the X-axis?

62
New cards

transform:translateY(y)

Which transform value defines a 3D translation using only the value for the Y-axis?

63
New cards

transform:translateZ(z)

Which transform value defines a 3D translation using only the value for the Z-axis?

64
New cards

transform:matrix3d(n,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n)

Which transform value defines a 3D transformation using a 4x4 matrix of 16 values?

65
New cards

transform:perspective(n)

Which transform value defines a perspective view for a 3D transformed element?

66
New cards

transition

Properties are in this order:

transition: property duration timing-function delay|initial|inherit;

Which property specifics the four transition properties into a single property?

67
New cards

No transition will occur

If you do not specify the duration for a CSS transition, what happens?

68
New cards

transition-property

Which property specifies the CSS property that the transition will affect?

69
New cards

transition-duration

Which property defines the amount of time that a transition takes?

70
New cards

transition-timing-function

Which property describes the speed of a transition?

71
New cards

transition-delay

Which property defines when the transition will begin?

72
New cards

@keyframes

Which rule defines the animation?

73
New cards

div {

animation: mymove 5s infinite;

}

@keyframes mymove {

0% {top: 0px;}

25% {top: 200px;}

}

How can you define the position of an animation using the @keyframes rule?

74
New cards

By specifying a percentage from 0% to 100%

or by using the keywords "to" and "from"

How can you define the position of an animation using the @keyframes rule?

75
New cards

animation

Properties are in this order:

animation: name duration timing-function delay iteration-count direction fill-mode play-state;

Which property combines all the animation properties, except animation-play-state?

76
New cards

animation-name

Which property specifies the identifier for the @keyframes animation that binds it to a selector?

77
New cards

animation-duration

Which property specifies how long the animation will take to complete one cycle?

78
New cards

animation-timing-function

Which property specifies how an animation progresses over one cycle?

79
New cards

animation-delay

Which property specifies when the animation will begin?

80
New cards

animation-iteration-count

Which property specifies the number of times that the animation will play?

81
New cards

animation-direction

Which property specifies whether to play the animation in reverse on alternate cycles?

82
New cards

animation-play-state

Which property specifies whether the animation is running or paused?

83
New cards

appearance

Which property makes an HTML element look like a standard user interface element, such as a button or window?

84
New cards

box-sizing

Key values for this property:

content-box - width and height includes only the content

border-box - width and height includes content, padding and border

Which property forces specified HTML elements fit an area in a certain way?

85
New cards

icon

Which property styles an HTML element with an iconic equivalent?

86
New cards

nav-down

Which property specifies where the cursor will navigate to when the user presses the arrow-down key?

87
New cards

nav-index

Which property specifies the tabbing order for an HTML element?

88
New cards

nav-left

Which property specifies where the cursor will navigate to when the user presses the arrow-left key?

89
New cards

nav-right

Which property specifies where the cursor will navigate to when the user presses the arrow-right key?

90
New cards

nav-up

Which property specifies where the cursor will navigate to when the user presses the arrow-up key?

91
New cards

outline-offset

Which property draws an outline beyond the border edge as specified?

92
New cards

The element will display behind other elements.

What happens when you assign a negative z-index value to an element?

93
New cards

z-index

Which property specifies the stack order of an HTML element?

94
New cards

declaration

What consists of a property and a value?

95
New cards

rule

Example: body {background-color: #008080; color: #FFFFFF;}

What is a format instruction that consists of a specified selector and the properties and values applied to it?

96
New cards

selector

What is used to "find" the HTML elements you want to style with CSS?

97
New cards

property

What is an attribute that can be customized to change the way the element renders in the browser?

98
New cards

value

What is a specific selection for a property?

99
New cards

class selector

Which selector targets all elements with a specific HTML class attribute assigned?

100
New cards

id selector

Which selector targets one HTML element with a specific id attribute assigned?