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 the difference between padding and margin and when each should be used.
RELATED INTERVIEW QUESTIONS
How do you style scrollbars in CSS?
What are attribute selectors, and how do they help in targeting specific elements?
What is the transition-delay property, and how does it work?
What is the difference between position: fixed and position: sticky?
How do you create an SVG-based background image that is responsive and scalable using CSS?
What is the cursor property, and how is it used?
What is the purpose of the overflow-x and overflow-y properties?
How do you create a rotating animation effect on an element using CSS?
How does fr unit work in CSS Grid?
What is the difference between transitions and animations?
What are the differences between relative units like %, vw, and vh?
What is the difference between padding and margin?
How do you create a sticky footer using CSS?
What is the prefers-reduced-motion media query used for?
How do you create a hover effect with multiple transformations in CSS?
X