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
Explain how position: absolute, relative, and fixed work in CSS.
RELATED INTERVIEW QUESTIONS
What is the ::first-letter and ::first-line pseudo-elements, and how are they used?
How do CSS variables interact with media queries for responsive design?
How can you hide elements visually but keep them accessible?
What is the purpose of the quotes property in CSS?
How does the gap property work in Flexbox and Grid?
What are the differences between position: static and position: fixed?
How do you make an animation repeat a specific number of times in CSS?
What is resize property, and how does it enable resizable elements in CSS?
How do you create a CSS accordion without JavaScript?
How does the content-visibility property improve performance?
How do you prevent performance issues when using CSS animations and transitions?
How does the cascade work in CSS, and how do you manage conflicting styles?
What is the difference between padding and margin?
How do you set breakpoints to design a responsive layout for both portrait and landscape orientations?
How do you create a gradient background in CSS?
X