Computer Applications

Write any two differences between the Outline and Border-style properties of CSS.

CSS

3 Likes

Answer

OutlineBorder-style
Outline attribute controls all the aspects of an element's outline.Border-style is specifically used to choose the type of border for an element.
Outline attribute makes use of various properties like outline-color, outline-style, etc. to control the appearance of outline.Border-style is a property of Border attribute which specifies the border type.

Answered By

1 Like


Related Questions