Account
Login
Categories
HTML
CSS
Python
PHP
MySQL
Linux
Javascript
HTML
CSS
Python
PHP
MySQL
Linux
Javascript
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
How can you create a layout where grid items span across multiple rows or columns?
How do you create a two-dimensional grid layout using CSS Grid?
What is the purpose of the white-space property?
What is the all property in CSS, and how does it work?
How does the z-index property work?
What is the difference between content-box and border-box in box-sizing?
What is the purpose of the overflow property in CSS?
What is the difference between position: absolute and position: relative?
What is the difference between CSS transitions and animations?
How do CSS transitions enhance user experience?
What is the difference between CSS and CSS-in-JS?
What is the difference between position: relative and position: absolute?
How do you define and use global variables in CSS?
What is the scroll-margin property?
How can you create a triangle shape using only CSS?
X