CSS Quiz | Set-3

  • Last Updated : 29 Sep, 2021

Question 1
Which property in CSS is used to set the color of multicolumn text ?
Cross
column-color
Cross
column-rule-style
Tick
column-rule-color
Cross
column-rule-decoration


Question 1-Explanation: 
The column-rule-color property of CSS is used to change the color of the rule between the specified column. It takes two values one is initial and inherit.
Question 2
Which CSS value is responsible for the show the transition effect with a slow start, then fast, and end slowly ?
Cross
linear
Tick
ease
Cross
in
Cross
out


Question 2-Explanation: 
Ease is the CSS value that is responsible for the show the transition effect with a slow start, then fast, and end slowly. Ease is the default value of the transition-timing function.
Question 3

Which below selector is used to change the color of placeholder text?

Cross

::margin Selector

Tick

::placeholder Selector

Cross

::constraint Selector

Cross

::layout Selector



Question 3-Explanation: 

The placeholder selector in CSS is responsible for changing the style of the placeholder text. Hence it is used to change the color of the placeholder text. The default color is light gray for most browsers.

Question 4
Which variable in CSS has been used to defines the data type of the content ?
Tick
content_type
Cross
content_length
Cross
content_value
Cross
content_agent


Question 4-Explanation: 
The content_type is a variable in CSS is used to defines the data type of the content. It is used when the client is sending attached content to the server, like when the file uploading, Image uploading, etc., the length of the query information is defined by content_length, It is only used for the POST requests.
Question 5
Which of the below property will rotate an element clockwise or counter-clockwise in CSS ?
Cross
matrix()
Cross
skewX()
Cross
skewY()
Tick
rotate()


Question 5-Explanation: 
The rotate() function is an inbuilt function in CSS that is used to rotate an element based on the given angle as an argument passed to the function. The angle can be degrees, gradians, radians. It takes only the parameter as an angle.
Question 6
Which of the below properties in CSS show a pop-up window that split into pieces when it is clicked ?
Tick
3D movement effect
Cross
Click and break it
Cross
Blurred element
Cross
Left bottom


Question 6-Explanation: 
The three-dimensional effect is one of the most used effects in the css.3D movement effect is properties in css shows a pop-up window that split into pieces when it is clicked.
Question 7

Which selector in CSS is used to select all elements that are given within a particular range value?

Cross

:invalid

Cross

:long

Tick

:in-range

Cross

:last



Question 7-Explanation: 

The :in-range selector in CSS is used to select all the elements that are present within a given range. It is mainly used for input elements like minimum and maximum attributes.

Question 8

Which property in CSS is used the resize the element by the user?

Cross

Outline Offset

Tick

Resize

Cross

Unit

Cross

Crop



Question 8-Explanation: 

The resize property is used to resize the element according to the input of the user. We do not apply for inline elements, or to the block elements where overflow seems to be visible. It takes property as none, both, horizontal, vertical, etc.

Question 9
Which of the below selector in CSS is used to selects all elements of value E and attribute attr ?
Cross
E[attr^=value]
Tick
E[attr$=value]
Cross
E[attr*=value]
Cross
E[attr%=value]


Question 9-Explanation: 
The selector in CSS is used to selects all elements of value E and attribute attr is E[attr$=value].
Question 10
Which of the below property in CSS is used to give a three diagonal sense of depth to an element ?
Cross
animation
Cross
perspex
Cross
sense
Tick
perspective


Question 10-Explanation: 
Perspective is a property in CSS is used to give a three diagonal sense of depth to an element. It takes property value as x-axis, y-axis, inherits, and initial.
12
There are 15 questions to complete.