border-style CSS Property
border-style CSS is shortcut property that can set multiple edges of borders either same or different styles. Use may differ for different browsers.
Definition Of border-style property:
The border-style is a property of CSS that can set style for all four edges of borders of elements in just a single declaration.
What border-style property can do?
This border-style property can apply different border styles for html elements to make your design’s presentation more attractive and beautiful, for example, dashed, dotted, groove, outset, inset, etc.
How to use CSS border-style property?
Syntax:
1
border-style: borderStyle {1,4}
Example:
1
border-style:dotted;
How to use CSS border-style property in Javascript?
You can set value of border-style property with Javascript in following manner:
1
object.style.borderStyle="outset dotted"
Related posts
- ruby-align
- fit
- font-effect
- bookmark-label
- font-weight
- border-right-color
- image-resolution
- background-repeat
- word-wrap
- outline-width
Tags: border-style, border-style property, css border style

No Response
Post your response