Created
March 23, 2015 10:35
-
-
Save camilonova/91a6822f7b77be61ef53 to your computer and use it in GitHub Desktop.
Alert message for older browsers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 9]> | |
<div class="alert-browser"> | |
Oops! Parece que estás usando un navegador obsoleto. Por favor <a href="http://browsehappy.com/?locale=es_ES">actualiza tu navegador</a> para mejorar tu experiencia en la web. | |
</div> | |
<![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$salmon : #ff7c7c; | |
$color-error : $salmon; | |
.alert-browser { | |
background-color: $color-error; | |
color: #fff; | |
padding: 15px 20px; | |
position: fixed; | |
text-align: center; | |
width: 100%; | |
z-index: 10; | |
a { | |
color: lighten($color-error, 10%); | |
text-decoration: underline; | |
&:hover { | |
text-decoration: none; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment