/ Published in: CSS
CSS - Page Component - Alert boxes
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.alert_box { padding:15px 35px 15px 15px; margin-bottom:15px; position:relative; -webkit-border-radius: 5px; border-radius: 5px; } .alert_box p { padding:0; } .alert_box a.close { position:absolute; right:10px; top:4px; font-size: 18px; font-size: 1.8rem; text-decoration:none!important; font-weight:bold; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; filter: alpha(opacity=20); -moz-opacity: 0.2; -khtml-opacity: 0.2; opacity: 0.2; } .alert_box a:hover { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5; }