Skip to content

Instantly share code, notes, and snippets.

@byverdu
Created February 14, 2015 11:52
Show Gist options
  • Save byverdu/a52443d46ad426aab70a to your computer and use it in GitHub Desktop.
Save byverdu/a52443d46ad426aab70a to your computer and use it in GitHub Desktop.
.error {
position: relative;
z-index: 1;
padding: 10px;
border-radius: 10px;
color: white;
width: 235px;
text-align: center;
font-size: 12px;
background: RGB(194, 46, 79);
}
.error::after {
content: '';
border-bottom: 15px solid RGB(194, 46, 79);
border-right: 15px solid transparent;
border-left: 15px solid transparent;
position: absolute;
left: 45%;
top: -14px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment