You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`em`| Calculated relative to the current font size. For example, 2em indicates 2 times larger size than current element's font size. |
33
+
|`px`|`px` stands for "pixels." It's a unit of measurement commonly used in digital design and web development to define the size of elements on a screen. |
34
+
|`%`| Percentage (`%`) is a relative unit of measurement that expresses a value as a fraction of the parent element's size or the viewport's dimensions.For example, 50% of the width of the container. |
35
+
|`rem`| Relative to font size of the root-element. |
36
+
|`vw`| Viewport width (`vw`) is a relative unit of measurement that expresses a value as a fraction of the width of the browser viewport. `1vw` is equal to 1% of the width of the viewport. |
37
+
|`vh`| Viewport height (`vh`) is a relative unit of measurement that expresses a value as a fraction of the height of the browser viewport. `1vh` is equal to 1% of the height of the viewport. |
0 commit comments