Skip to content

Instantly share code, notes, and snippets.

@viktorViktor
Created March 19, 2014 09:29
Show Gist options
  • Save viktorViktor/9638399 to your computer and use it in GitHub Desktop.
Save viktorViktor/9638399 to your computer and use it in GitHub Desktop.
A Pen by Viktor.
<input type="text" class="object">
@import "compass";
.object {
-webkit-animation: input-error 2s;
-webkit-animation-iteration-count: infinite;
margin: 20px;
border: 1px solid #f0f0f0;
padding: 12px;
font-size: 16px;
-webkit-border-radius: 2px;
.object-text {
display: none;
}
}
@-webkit-keyframes input-error {
0% {border: 1px solid #f0f0f0;}
50% {border: 1px solid #999999;}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment