Read more

What does 100% mean in CSS?

Henning Koch
March 30, 2021Software engineer at makandra GmbH

The attached article Show archive.org snapshot examines what the percent unit (%) is relative to in CSS

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

The article does a great job of visualizing the dependencies. The TLDR is:

Own property % of
height parent height
width parent width
top parent height
left parent width
margin-top parent width
margin-left parent width
padding-top parent width
padding-left parent width
translate-top own height
translate-left own width
Henning Koch
March 30, 2021Software engineer at makandra GmbH
Posted by Henning Koch to makandra dev (2021-03-30 08:51)