Rik Telner
Rik Telner

Reputation: 279

How to manage length of dashes

How to manage length of dashes in CSS? I could have added border-width: 2px but this makes it thicker and bigger, not longer/wider.

Upvotes: 1

Views: 630

Answers (2)

Damien Black
Damien Black

Reputation: 5647

CSS border dash length is browser specific and uncontrollable (source). You can however |use border images| with the border-image option to give you full control of the border style. It is pretty cool.

Upvotes: 2

Dustin Paluch
Dustin Paluch

Reputation: 93

Sorry, but you cannot change the length of the dashes applied by the border property.

Upvotes: 0

Related Questions