CSS Quiz | Set-3

  • Last Updated : 29 Sep, 2021

Question 1
Which property in CSS is used to set the color of multicolumn text ?
A
column-color
B
column-rule-style
C
column-rule-color
D
column-rule-decoration
CSS Quiz | Set-3    
Discuss it


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 ?
A
linear
B
ease
C
in
D
out
CSS Quiz | Set-3    
Discuss it


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?

A

::margin Selector

B

::placeholder Selector

C

::constraint Selector

D

::layout Selector

CSS Quiz | Set-3    
Discuss it


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 ?
A
content_type
B
content_length
C
content_value
D
content_agent
CSS Quiz | Set-3    
Discuss it


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 ?
A
matrix()
B
skewX()
C
skewY()
D
rotate()
CSS Quiz | Set-3    
Discuss it


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 ?
A
3D movement effect
B
Click and break it
C
Blurred element
D
Left bottom
CSS Quiz | Set-3    
Discuss it


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?

A

:invalid

B

:long

C

:in-range

D

:last

CSS Quiz | Set-3    
Discuss it


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?

A

Outline Offset

B

Resize

C

Unit

D

Crop

CSS Quiz | Set-3    
Discuss it


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 ?
A
E[attr^=value]
B
E[attr$=value]
C
E[attr*=value]
D
E[attr%=value]
CSS Quiz | Set-3    
Discuss it


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 ?
A
animation
B
perspex
C
sense
D
perspective
CSS Quiz | Set-3    
Discuss it


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.
There are 15 questions to complete.
My Personal Notes arrow_drop_up