Skip to content
- What is the difference between inline, block, and inline-block elements?
- What is the use of !important in CSS?
- What are pseudo-classes in CSS?
- How do you create a responsive web design with CSS?
- What is the difference between visibility: hidden and display: none?
- How does the float property work in CSS?
- What is a CSS reset, and why is it important?
- Explain the concept of media queries in CSS.
- How can you add shadows to text and boxes in CSS?
- What is the difference between position: relative, absolute, fixed, and sticky?
- What are CSS preprocessors like SASS and LESS?
- How do you use CSS variables?
- Explain Flexbox and its key properties.
- What is Grid Layout in CSS, and how is it different from Flexbox?
- How do you use calc() in CSS?
- What are the different units in CSS (e.g., px, em, rem, %)?
- What is the difference between nth-child() and nth-of-type()?
- How can you implement dark mode with CSS?
- What is the difference between transitions and animations in CSS?
- How do you use the transform property in CSS?
- What is the difference between rgba() and opacity?
- What is the use of the clip-path property in CSS?
- How can you create a sticky header using CSS?
- Explain the difference between justify-content and align-items in Flexbox.
- How can you create a CSS-only dropdown menu?
- What are CSS Sprites, and how do they improve performance?
- How does min-width, max-width, min-height, and max-height work in CSS?
- Explain how to use CSS counters.
- How do you use CSS grid for creating a multi-column layout?
- What is the object-fit property used for in CSS?
- What is BEM (Block, Element, Modifier) methodology in CSS?
- How does CSS handle different screen sizes and devices?
- How can you optimize CSS for better performance?
- Explain how you can use CSS for accessibility.
- What is the purpose of the will-change property in CSS?
- How do you create keyframe animations in CSS?
- What are vendor prefixes, and why are they used in CSS?
- What is a CSS fallback?
- How can you create responsive typography using CSS?
- Explain the concept of CSS containment and its use.
- What is CSS, and why is it used?
- How do you apply CSS to an HTML document?
- What is the difference between an ID selector and a class selector in CSS?
- What is the box model in CSS?
- How do padding, margin, and border differ in CSS?
- What are the different types of selectors in CSS?
- How do you make text bold in CSS?
- What is the purpose of z-index in CSS?
- Explain the concept of specificity in CSS.
- How do you center a div horizontally and vertically?
Scroll to Top