Darius Moseley
Darius Moseley

Reputation: 57

How can I set border-opacity for IE?

The following code works for chrome and firefox, however it doesn't work in IE.

border: 2px solid rgb(191, 191, 191, .25);

How can I mimic this effect for IE?

Upvotes: 0

Views: 212

Answers (2)

Summer
Summer

Reputation: 1

missing alpha channel

border:2px solid rgba(191, 191, 191, .25)

Upvotes: 0

Arex
Arex

Reputation: 694

Use rgba instead of rgb

border: 2px solid rgba(191, 191, 191, .25);

Upvotes: 3

Related Questions