Skip to content

Instantly share code, notes, and snippets.

@angusdev
Created May 31, 2014 02:05
Show Gist options
  • Save angusdev/1747c02d41fa03f59599 to your computer and use it in GitHub Desktop.
Save angusdev/1747c02d41fa03f59599 to your computer and use it in GitHub Desktop.
The callout CSS from Bootstrap doc page
.bs-callout {
border-left: 3px solid #eee;
margin: 20px 0;
padding: 20px;
}
.bs-callout h4 {
margin-bottom: 5px;
margin-top: 0;
}
.bs-callout p:last-child {
margin-bottom: 0;
}
.bs-callout code {
background-color: #fff;
border-radius: 3px;
}
.bs-callout-danger {
background-color: #fdf7f7;
border-color: #d9534f;
}
.bs-callout-danger h4 {
color: #d9534f;
}
.bs-callout-warning {
background-color: #fcf8f2;
border-color: #f0ad4e;
}
.bs-callout-warning h4 {
color: #f0ad4e;
}
.bs-callout-info {
background-color: #f4f8fa;
border-color: #5bc0de;
}
.bs-callout-info h4 {
color: #5bc0de;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment