CSS User Interface


The User Interface (UI) standard describes how people interact with information systems. User Interface (UI) is the layperson's word for the collection of screens, pages, buttons, forms, and other visual elements that are used to interact with the device. Every website and app has a user interface.

Any element can be converted into one of several common user interface elements using the user interface attribute.

We will talk about the following user interface property in this article:

  • resize
  • outline-offset

1. resize:

A box can be resized by the user using the resize property. Inline and block elements with visible overflow are exempt from this feature. The overflow setting in this property must be either "scroll," "auto," or "hidden."

Example

Preview

2. outline-offset:

In CSS, the outline-offset property is used to specify the distance between an outline and an element's edge or border. The area between an element's outline and that element is transparent.

Example

Preview