CSS border-top-style Property
Set a CSS border-top-style: div {border-top-style: dotted;} Try it Yourself » More “Try it Yourself” examples below. Definition and Usage The border-top-style property sets the style of an element’s top border. Default value: none Inherited: no Animatable: no. Read about animatable Version: CSS1 JavaScript syntax: object.style.borderTopStyle=”dashed” Try it CSS Syntax border-top-style: none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit; Property Values Value Description none Specifies no border. […]
