Courses
Log inStart Learning AI
Courses
Log inStart Learning AI
0

Why we give margin and padding to zero in CSS?

Check this out: *{ margin: 0; padding: 0; box-sizing: border-box; } Is it necessary? I didn't find any difference while applying this

htmlcss
26th Jan 2022, 9:17 AM
Ray
Ray - avatar
1 Answer
+ 2
Have a 5-minute read: https://www.thoughtco.com/css-zero-out-margins-3464247 // https://www.sololearn.com/discuss/1432305/?ref=app https://www.sololearn.com/discuss/124092/?ref=app
26th Jan 2022, 10:47 AM
NEZ
NEZ - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
How many program that you've made even a smaal project are good?
0 Votes
Hello guys,
1 Votes
Help me
1 Votes
Programming
0 Votes
Give some simple practice questions in C
0 Votes
how do they use javascript
0 Votes
Code coach isn't awarding xp
0 Votes
Temperature converter( celsius to fahrenheit)
0 Votes