-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Expand file tree
/
Copy pathindex.md
More file actions
19 lines (14 loc) · 1.01 KB
/
index.md
File metadata and controls
19 lines (14 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
title: Physical properties
slug: Glossary/Physical_properties
page-type: glossary-definition
sidebar: glossarysidebar
---
CSS **physical properties** define positions based on physical directions or element sides. For example:
- The {{Glossary("inset properties")}} {{cssxref("top")}}, {{cssxref("right")}}, {{cssxref("bottom")}}, and {{cssxref("left")}} refer to the physical dimensions of the viewport.
- Features such as {{cssxref("margin-top")}}, {{cssxref("border-right")}}, {{cssxref("padding-bottom")}}, and {{cssxref("border-bottom-left-radius")}} reference specific sides of an element, and style features by that physical direction.
This is opposed to {{glossary("logical properties")}}, which are relative to the content flow and use directional keywords relative to the block and inline axes.
## See also
- [CSS positioned layout](/en-US/docs/Web/CSS/Guides/Positioned_layout) module
- [CSS box model](/en-US/docs/Web/CSS/Guides/Box_model) module
- [CSS box sizing](/en-US/docs/Web/CSS/Guides/Box_sizing) module