Example
A simple inset-inline property example:
Laboratory
description & Usage
We use the inset-inline property to determine the internal distance of an element relative to its parent element.
Browser compatibility and Support
| # |
Chrome |
Edge |
Firefox |
Safari |
Opera |
| inset-inline |
|
|
|
|
|
Values
| Values |
Description |
|
auto
|
Default.
|
|
length
|
Determines the distance in centimeters, pixels, etc.
|
|
%
|
Calculates the distance as a percentage.
|
|
initial
|
Adds this value to its default property.
|
|
inherit
|
It inherits this value from its parent tag.
|