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
How do you implement a sticky header that scrolls with the page, but becomes fixed when the user scrolls past a certain point?
RELATED INTERVIEW QUESTIONS
What is the prefers-reduced-motion media query used for?
How do you align items in the center of a Flexbox container using justify-content and align-items?
How do attribute selectors work in CSS?
How do you create an animation that runs infinitely in CSS?
What is the purpose of the @keyframes rule in CSS animations?
What is the purpose of the display property?
What is the purpose of the font-display property in CSS?
What is the difference between space-between and space-around in Flexbox?
How does the backdrop-filter property work?
What is the scroll-margin property?
How does flex-grow differ from flex-shrink in Flexbox?
How do you use feature queries (@supports) to apply styles for browsers supporting specific features?
How does the scroll-snap feature work in CSS?
How does CSS handle aspect ratio for videos?
How do you hide elements on certain screen sizes using media queries?
X