Borders

Introduction

The border properties allow you to specify the style, width, and color of an element’s border.

Take a look at following border samples:

A sample element with a dotted border.

A sample element with a dashed border.

A sample element with a solid border.

Border Properties

Property Values Description
Style none, solid, dotted, dashed, hidden Sets the style of an element four borders.
Width number Sets the width of an element four borders.
Color color, transparent Sets the color of an element four borders.
Was this article helpful?
YesNo

Couldn't Find Your Answer?

Get quality customer support with our professional support team.

Create A Support Ticket
Live Editor