CSS - Resizing and Offset

CSS Resizing and Offset

In this tutorial, I will be showing you how to use the following CSS user interface property: resize and outline-offset

Resize

The resize property is used to specify if and how an HTML element should be resizable by the user. It takes any of the following values: horizontal, vertical or none

Outline Offset

The outline-offset is the property that is used to add spacing between the outline and the edge of the border of an element.

note
NOTE:

Outline is drawn outside the element's border which may overlap other content.
Outline is not part of the elements dimension; that is the total width and height is not affected by the width of the outline.


ADVERTISEMENTS

LEARNING IS A CONTINOUS PROCESS - PRACTICE MAKES PERFECT