CSS Quiz | Set-2Last Updated : 06 Oct, 2021ReadDiscussCoursesCSS Quiz | Set-2Please wait while the activity loads.If this activity does not load, try refreshing your browser. Also, this page requires javascript. Please visit using a browser with javascript enabled.If loading fails, click here to try againQuestion 1Which CSS property will we use to wrap a block of text with an image ?WrapPushFloatAlignCSS Quiz | Set-2 Discuss itQuestion 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.Question 2Which css selector is used to defining the style for unique elements ?idtextclassnameCSS Quiz | Set-2 Discuss itQuestion 2-Explanation: The id selector is used to set the style of the given id The id attribute is unique in an HTML document.Question 3Which properties in CSS used to selects an animation defined in the keyframes rule ?animationanimation-nameanimation-elementNone of the mentionedCSS Quiz | Set-2 Discuss itQuestion 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.Question 4Which of the below CSS property should run in reverse on some cycles in animation ?animationanimation-runanimation-repeatanimation-directionCSS Quiz | Set-2 Discuss itQuestion 4-Explanation: The animation-direction in CSS is used to run in reverse on some cycles in animation.Question 5Which function in CSS is used to insert a value for the custom property ?calc()hsla()hsl()var()CSS Quiz | Set-2 Discuss itQuestion 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.Question 6Which of the below CSS properties determine that the element of x-coordinate convert the position of the mask ?mask-x-originmask-y-originmask-position-xmask-origin-yCSS Quiz | Set-2 Discuss itQuestion 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.Question 7Which of the below is correct way for write comment in CSS code ?/* content goes here */// content goes here /// content goes here /<'content goes here'>CSS Quiz | Set-2 Discuss itQuestion 7-Explanation: Comment is the way that tells which line of code performs what type of function.Question 8Which of the below property in CSS is used to apply visual effects ?AlphaBasicImageBlurFilterCSS Quiz | Set-2 Discuss itQuestion 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.Question 9Which function in CSS is used to set the linear gradient as the background image ?absolute-gradient()relative-gradient()linear-gradient()custom-gradient()CSS Quiz | Set-2 Discuss itQuestion 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.Question 10Which property of CSS is used to animate the width of search input when the element gets focus ?FocusTransitionOutlineColorCSS Quiz | Set-2 Discuss itQuestion 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. 12 There are 15 questions to complete.You have completedquestionsquestionYour accuracy isCorrectWrongPartial-CreditYou have not finished your quiz. If you leave this page, your progress will be lost.Correct AnswerYou SelectedNot AttemptedFinal Score on QuizAttempted Questions CorrectAttempted Questions WrongQuestions Not AttemptedTotal Questions on QuizQuestion DetailsResultsDateScoreHintTime allowedminutessecondsTime usedAnswer Choice(s) SelectedQuestion Text All doneNeed more practice!Keep trying!Not bad!Good work!Perfect!