OA Exams

  • web.groovymark@gmail.com
  • December 14, 2024

Question 41

What CSS property allows you to rotate an element?

a) rotate
b) transform
c) skew
d) scale

Correct Answer: b) transform

Explanation: The transform property can rotate an element using the rotate function.

Question 42

Which CSS property applies a delay before an animation starts?

a) animation-timing
b) animation-delay
c) transition-delay
d) start-delay

Correct Answer: b) animation-delay

Explanation: The animation-delay property specifies a delay before the animation begins.

Question 43

Which CSS property defines the number of times an animation will run?

a) animation-timing
b) animation-delay
c) animation-iteration-count
d) transition-iteration

Correct Answer: c) animation-iteration-count

Explanation: The animation-iteration-count specifies how many times an animation should repeat.

Question 44

Which CSS property is used to transition an element from one state to another when a property value changes?

a) transition
b) transform
c) animation
d) timing

Correct Answer: a) transition

Explanation: The transition property allows for smooth changes between states when a property value is modified.

Question 45

Which CSS property is used to control a widget’s appearance based on the operating system theme?

a) appearance
b) transform
c) theme-control
d) os-style

Correct Answer: a) appearance

Explanation: The appearance property modifies the appearance of UI widgets to match the operating system's style.

Question 46

 Which CSS preprocessor uses variables, arithmetic, and functions to enhance stylesheets?

a) Sass
b) LESS
c) Stylus
d) CSSX

Correct Answer: a) Sass

Explanation: Sass is a popular CSS preprocessor that allows the use of variables, functions, and other advanced features.

Question 47

Which Sass feature allows you to define reusable styles in your stylesheets?

a) @function
b) @mixin
c) @include
d) @import

Correct Answer: b) @mixin

Explanation: Mixins in Sass allow you to create reusable styles that can be included in multiple selectors.

Question 48

Which unit in CSS is relative to the width of the viewport?

a) vw
b) em
c) vh
d) px

Correct Answer: a) vw

Explanation: The vw unit represents 1% of the viewport width, making it responsive to the screen size.

Question 49

Which property is used to define the amount of space between grid columns?

a) column-spacing
b) grid-gap
c) column-gap
d) spacing

Correct Answer: c) column-gap

Explanation: The column-gap property defines the space between columns in a CSS grid.

Question 50

Which CSS property is used to apply styles based on user behavior or element states, like hovering?

a) :before
b) :after
c) :hover
d) :focus

Correct Answer: c) :hover

Explanation: The :hover pseudo-class is used to apply styles when the user hovers over an element.

Complete the Captcha to view next question set.

Tags

Prev Post
WGU D276 Practice Exam Questions – Set 3 – Part 2
Next Post
WGU D105 Practice Exam Questions – Set 1 – Part 2