
Mastering CSS: Animations and Variables

Quiz
•
Information Technology (IT)
•
9th Grade
•
Hard
Stirbu Valentin
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What property is used to define the duration of a CSS animation?
animation-speed
animation-duration
animation-time
animation-length
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a keyframe animation in CSS?
Define animations using the 'animate' function in JavaScript only.
Use @animations to create transitions and apply it with the 'transition' property.
Keyframe animations are created using the 'transform' property without @keyframes.
Use @keyframes to define the animation and apply it with the 'animation' property.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'animation-fill-mode' property?
To set the animation's delay time.
To control the styles applied before and after an animation runs.
To define the duration of an animation.
To specify the animation's keyframes.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which CSS property is used to change the opacity of an element during an animation?
visibility
display
opacity
transform
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax to declare a CSS variable?
--variable-name: value;
--variable-name = value;
variable-name: value;
$variable-name: value;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access a CSS variable in your styles?
Use getCSSVariable(--variable-name)
Access with cssVar(--variable-name)
Set variable using setVar(--variable-name)
Use var(--variable-name) to access a CSS variable.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of the 'animation-timing-function' property?
cubic-bezier
ease-in-out
linear
ease
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
test

Quiz
•
9th - 12th Grade
10 questions
Ulangan Harian Berpikir Komputasional

Quiz
•
9th Grade
20 questions
Ulangan Harian Informatika Kelas 9

Quiz
•
9th Grade
20 questions
Teknonolgi Informasi dan Komunikasi

Quiz
•
9th Grade
15 questions
Recap Handout 3 & 4

Quiz
•
6th Grade - University
15 questions
Web Applications Quiz

Quiz
•
9th Grade
20 questions
Quiz Roblox Studio 2

Quiz
•
4th Grade - University
20 questions
G09 - ICT Q1 Reviewer

Quiz
•
9th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Distribute and Combine Like Terms

Quiz
•
7th - 9th Grade
12 questions
Graphing Inequalities on a Number Line

Quiz
•
9th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Cell Organelles

Quiz
•
9th Grade
20 questions
Cell Transport

Quiz
•
9th Grade