Account
Login
Categories
HTML
CSS
Python
PHP
MySQL
Linux
HTML
CSS
Python
PHP
MySQL
Linux
Shobha
The best way to predict the future is to invent it
What are CSS variables, and how are they declared and used?
RELATED INTERVIEW QUESTIONS
What is the difference between CSS reset and normalization?
How can you use media queries to create a mobile-first responsive design?
What is the difference between :nth-child() and :nth-of-type()?
How do you handle overlapping content in a CSS grid layout?
How do you use min-width and max-width in media queries?
How do you use media queries for high-resolution displays (like Retina displays)?
What is the difference between CSS and CSS-in-JS?
What are the limitations of CSS variables in browsers that don’t support them fully?
How can you hide elements visually but keep them accessible?
How do you style scrollbars in CSS?
What is the purpose of the overflow property in CSS?
How do you implement a sticky header that scrolls with the page, but becomes fixed when the user scrolls past a certain point?
How do you create a responsive grid using calc() function in CSS?
How can you create a light/dark theme toggle using CSS variables and JavaScript?
What is the difference between position: fixed and position: sticky?
X