1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02:00

no gradients on alerts for <= ie8

This commit is contained in:
Jacob Thornton
2011-08-21 13:04:09 -07:00
parent f8e9c6cf4e
commit d019c677ad

View File

@@ -291,6 +291,8 @@ div.page-header {
// One-liner alert bars // One-liner alert bars
div.alert-message { div.alert-message {
#gradient > .vertical(transparent, rgba(0,0,0,0.15)); #gradient > .vertical(transparent, rgba(0,0,0,0.15));
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)"; // no gradient IE8+
filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)"; // no gradient IE6 & IE7
background-color: @grayLighter; background-color: @grayLighter;
margin-bottom: @baseline; margin-bottom: @baseline;
padding: 8px 15px; padding: 8px 15px;