CSS Quiz | Set-2
Which CSS property will we use to wrap a block of text with an image ?
Question 1 Explanation:
Float is a property in CSS which is used to style an element. It defines the flow of content. There are many types of floating properties like float: left, float: right, etc.
Which css selector is used to defining the style for unique elements ?
Question 2 Explanation:
The id selector is used to set the style of the given id The id attribute is unique in an HTML document.
Which properties in CSS used to selects an animation defined in the keyframes rule ?
None of the mentioned
Question 3 Explanation:
The animation-name property in CSS is used to specify the name of the @keyframes that describing the animation-name property. There are 5 values: initially, inherit, keyframe name, and none.
Which of the below CSS property should run in reverse on some cycles in animation ?
Question 4 Explanation:
The animation-direction in CSS is used to run in reverse on some cycles in animation.
Which function in CSS is used to insert a value for the custom property ?
Question 5 Explanation:
The var() function in CSS is used to insert a value for a custom property. The syntax is var( custom_property, value ) where it takes the two property custom_property and the value.
Which of the below CSS properties determine that the element of x-coordinate convert the position of the mask ?
Question 6 Explanation:
The mask-position-x is CSS is a property that determines whether the element of x-coordinate convert the position of the mask is not.
Which of the below is correct way for write comment in CSS code ?
/* content goes here */
// content goes here //
/ content goes here /
<'content goes here'>
Question 7 Explanation:
Comment is the way that tells which line of code performs what type of function.
Which of the below property in CSS is used to apply visual effects ?
Question 8 Explanation:
The filter property is used to set the visual effect of an element in CSS This property is mainly responsible for changing the content of an image.
Which function in CSS is used to set the linear gradient as the background image ?
Question 9 Explanation:
The linear-gradient() function is an inbuilt function in CSS that is set used to set the linear gradient as the background image of the web pages. It takes two parameters one is the direction and another one is color.
Which property of CSS is used to animate the width of search input when the element gets focus ?
Question 10 Explanation:
Transitions in CSS are used to animate the width of search input when the element gets focus to allow us to control the way in which transition takes place between the given two states of the element.
There are 15 questions to complete.
My Personal Notes arrow_drop_up