GoogleTag

Google Search

[6] Css MCQ Quiz

Correct Answers: 0
Incorrect Answers: 0

106. Which CSS property is used to create a transition effect?

107. How do you select all 'span' elements inside a 'div' with class 'container'?

108. Which CSS property sets the distance between lines of text?

109. What does 'display: inline-block;' do to an element?

110. Which CSS property is used to change the order of elements in a flex container?

111. What is the function of the ':first-child' selector?

112. Which property is used to change the list marker type of a list item?

113. What does 'overflow: hidden;' do?

114. Which CSS property is used to control the visibility of an element?

115. How do you make an element's background color gradually change from blue to green?

116. Which CSS property controls the horizontal alignment of text within an element?

117. Which pseudo-class selects elements that have been visited by the user?

118. How do you create an animation that changes an element’s color from red to blue over 2 seconds?

119. Which CSS property defines how flex items are distributed along the main axis of the flex container when there is extra space?

120. What does the 'backface-visibility' property control?

121. Which value of the 'position' property positions an element relative to its closest positioned ancestor?

122. Which of the following is the correct syntax to create a CSS variable?

123. How do you make a grid item span across two rows in CSS Grid?

124. Which CSS property allows elements to overlap, with the one having the highest value appearing on top?

125. Which value of the 'overflow' property clips the content and adds a scrollbar only if necessary?

126. Which CSS function converts an RGB color to an HSL (Hue, Saturation, Lightness) format?

Featured Posts

SQL Interview Questions Topics

 SQL Topics to prepare for interviews,   SQL Basics: Introduction to SQL SQL Data Types DDL (Data Definition Language): C...

Popular Posts