The inset-inline property in CSS is used to define the logical inline start and end offset, not for the block offset or logical block. This property can apply to any writing-mode property.
- length: It sets a fixed value defined in px, cm, pt etc. Negative values are allowed. Its default value is 0px.
- percentage: It is same as the length but it sets in terms of percentage of the window size.
- auto: It is the default value and it is used when the browser determines the block-size.
- initial: It is used to set the value of the inset-inline property to its default value.
- inherit: It is used when it is desired that the element inherits the inset-inline property of its parent as its own.
- unset: It is used unset the default inset-inline.
Below examples illustrate the inset-inline property in CSS:
Supported Browsers: The browsers supported by inset-inline property are listed below:
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.