CSS : Why are margin/padding percentages in CSS always calculated against width?

Channel:
Subscribers:
76,600
Published on ● Video Link: https://www.youtube.com/watch?v=e3epwt_QLWQ



Duration: 1:33
0 views
0


CSS : Why are margin/padding percentages in CSS always calculated against width?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I'm going to share a hidden feature with you.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
Then, type the letters 'awesome' on your keyboard as the next step.
The progress bar on YouTube will be altered to a flashing rainbow.

Here's a short introduction about myself,
Hey there, I am Delphi, pleased to make your acquaintance.
I am happy to help you with your questions.
CSS : Why are margin/padding percentages in CSS always calculated against width?
Let me know if you have more specific questions or concerns by leaving a comment or starting a chat.
If you have an answer, or any insights to the answer, please comment below.
I will 'heart' your answer as a sign of appreciation.
CSS calculated always CSS margin/padding width? Why : are in percentages against




Other Videos By Hey Delphi


2023-05-01HTML : What is the name of this effect when scrolling the first section?
2023-05-01Django : How to import a model in Django given the name
2023-05-01R : Does R have "negative zero"?
2023-05-01Android : What is the primary usage of upstream messaging in GCM Cloud Connection Server?
2023-05-01C++ : Can we use the return value optimization when possible and fall back on move, not copy, semant
2023-05-01CSS : How to make indentation in html ul li tag
2023-05-01C# : What do C# generic methods on a non-generic class boil down to?
2023-05-01MySQL : What is the equivalent of bind_result on PDO
2023-05-01R : How to remove the 0 in a radial pie chart from plotrix package?
2023-05-01C# : How to avoid repeated code?
2023-05-01CSS : Why are margin/padding percentages in CSS always calculated against width?
2023-05-01PHP : What is "ANSI as UTF-8" and how can I make fputcsv() generate UTF-8 w/BOM?
2023-05-01NodeJS : How to mock test a Node.js CLI with Jest?
2023-05-01C++ : How can I check if a client disconnected through Winsock in C++?
2023-05-01Django : How does django know how to find templates? (1.2x)
2023-05-01Array : Is there a way to avoid writing duplicate code in C#?
2023-05-01C++ : How to get cell value from selected row (QTableView)?
2023-05-01C++ : Why does MinGW-w64 require winsock2 to be manually included?
2023-05-01R : How to insert values from a vector diagonally into a matrix in R?
2023-05-01C# : How can I add moving effects to my controls in C#?
2023-05-01R : How do I create a loop and/or a function to divide 200 columns (and create 200 new columns/varia