inset()

Term side of the Card
Topic: Transformations
Unit title: inset()
Categories: Function
Explanation side of the Card

Explanation: The function that defines an inset rectangle shape by specifying the offsets from the edges of the containing block. It acts as shorthand for setting the `top`, `right`, `bottom` and `left` properties, simplifying the control of an element's position and spacing within its container.

Browser compatibility:
  • The chrome browser supports this feature starting from version 37
  • The edge browser supports this feature starting from version 79
  • The firefox browser supports this feature starting from version 54
  • The safari browser supports this feature starting from version 10.1
Availability: