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 the difference between padding and margin and when each should be used.
RELATED INTERVIEW QUESTIONS
What is the difference between flex-basis and width in Flexbox?
How can you use minmax() to set flexible grid item sizes in CSS Grid?
What is the difference between position: relative and position: absolute?
What is the purpose of box-sizing, and how does it affect layout?
How do you use CSS variables for font sizes to improve scalability across different screen sizes?
How do you style placeholder text in CSS?
What is specificity, and how is it calculated in CSS?
How do you create a smooth hover effect using CSS transitions?
What is the purpose of the hyphens property in CSS?
How does background-attachment: fixed work in CSS?
How do you organize CSS code in a modular way to enhance code readability and maintenance?
What is the outline-offset property?
How do you center an element using CSS?
How does grid-auto-flow work in CSS Grid?
How do you apply different styles based on screen orientation using media queries?
X