Skip to content

Instantly share code, notes, and snippets.

@bbbrrriiiaaannn
Created April 29, 2011 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbbrrriiiaaannn/947670 to your computer and use it in GitHub Desktop.
Save bbbrrriiiaaannn/947670 to your computer and use it in GitHub Desktop.
Toxic HTML attributes - Find and quarantine inline styles and other worst-practices in your markup
@-webkit-keyframes toxic {
from { background-color: rgba(116,154,2,.6); -webkit-box-shadow: 0 0 6px 2px rgb(116,154,2); }
to { background-color: rgba(145,189,9,.6); -webkit-box-shadow: 0 0 12px 2px rgb(145, 189, 9); }
}
[style],
img[title] {
-webkit-animation: toxic .8s cubic-bezier(.50, 0, .50, 1) 0 infinite alternate !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment