CSS BORDER AND OUTLINE

CSS Border and Outline: Easily Understand the Difference

Border and Outline are different properties. The border defines the style of the element’s border, while outline specifies the line around the element’s border.