Skip to content

Instantly share code, notes, and snippets.

@askehansen
Last active November 6, 2017 03:41
Show Gist options
  • Save askehansen/9528424 to your computer and use it in GitHub Desktop.
Save askehansen/9528424 to your computer and use it in GitHub Desktop.
toastr fontawesome
#toast-container > .toast {
background-image: none !important;
}
#toast-container > .toast:before {
position: fixed;
font-family: FontAwesome;
font-size: 24px;
line-height: 18px;
float: left;
color: #FFF;
padding-right: 0.5em;
margin: auto 0.5em auto -1.5em;
}
#toast-container > .toast-warning:before {
content: "\f06a";
}
#toast-container > .toast-error:before {
content: "\f071";
}
#toast-container > .toast-info:before {
content: "\f05a";
}
#toast-container > .toast-success:before {
content: "\f00c";
}
@pacific007
Copy link

m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment