GoogleTag

Google Search

[2] CSS MCQ Quiz

Correct Answers: 0
Incorrect Answers: 0

22. Which of the following properties is used to control the size of an element's shadow?

23. How do you center a block element horizontally using CSS?

24. Which CSS property specifies the transparency of an element?

25. What value is used to set the CSS 'display' property to create a grid container?

26. Which of the following properties will make an element take the full width of its container?

27. Which CSS property is used to control the space between letters?

28. What is the purpose of the 'calc()' function in CSS?

29. How do you apply styles only to screen devices in CSS?

30. Which CSS property can be used to add rounded corners to an element?

31. Which value of the 'overflow' property ensures that overflowing content is hidden?

32. Which CSS property is used to specify how a background image should repeat?

33. What does 'vw' stand for in CSS units?

34. Which CSS property is used to change the appearance of the cursor when hovering over an element?

35. How do you create an inline-block element in CSS?

36. Which property allows text to overflow outside the container?

37. How do you target elements that are the last child of their parent?

38. Which CSS property is used to control the direction of the flex items in a flex container?

39. What will 'box-sizing: border-box;' do?

40. Which CSS property can be used to control the visibility of an element without affecting the layout?

41. Which CSS property defines the space between the element's border and its content?

42. What does the 'float' property do in CSS?

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