Glubase - share your knowledge


All / Computers / Programming / CSS





  • View Command

CSS Reference

CSS border-left-style definition

Browser support
IEFFOpSaf

Type:

Syntax

border-left-style: <style>;

Description

This property specifies the style of the left border.

Values

Value Description

none

No border.

dotted

Dotted border.

dashed

Dashed border.

solid

Default solid border.

double

Double border.

groove

Groove border.

ridge

Ridge border.

inset

Inset border.

outset

Outset border.

 


Example

[Try this example yourself]
<style type="text/css">
.style1
{
  border-left-style: dotted;
}
.style2

  border-left-style: dashed;
}
</style>

<div class="style1">
  Dotted style
</div>

<br />

<div class="style2">
  Dashed style
</div>

Output

Dotted style

Dashed style
  • Comments

No comments added.