Skip to content

Instantly share code, notes, and snippets.

@chriscoyier
Created June 16, 2011 21:19
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chriscoyier/1030312 to your computer and use it in GitHub Desktop.
Save chriscoyier/1030312 to your computer and use it in GitHub Desktop.
noCSS3.css
* {
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
border-radius: 0 !important;
-webkit-box-shadow: 0 !important;
-moz-box-shadow: 0 !important;
box-shadow: 0 !important;
-webkit-transition: none !important;
-moz-transition: none !important;
-ms-transition: none !important;
-o-transition: none !important;
transition: none !important;
-webkit-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-o-transform: none !important;
transform: none !important;
-webkit-animation: none !important;
-moz-animation: none !important;
animation: none !important;
text-shadow: none !important;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
-webkit-background-size: 100% 100% !important;
-moz-background-size: 100% 100% !important;
background-size: 100% 100% !important;
-webkit-background-clip: border-box !important;
-moz-background-clip: border-box !important;
background-clip: border-box !important;
-webkit-background-origin: 0 0 !important;
-moz-background-origin: 0 0 !important;
background-origin: 0 0 !important;
-webkit-border-image: none !important;
-moz-border-image: none !important;
border-image: none !important;
-ms-filter: none !important;
filter: none !important;
}
@chriscoyier
Copy link
Author

need to add background-origin, background-clip, maybe transform-origin (or maybe that's irrelevant if you remove the transform)

@chriscoyier
Copy link
Author

Setting background-size to 100% 100% in problematic. Maybe just "inherit" ?

@onigetoc
Copy link

I tryed it, i have a css3 with gradient background and i can see the gradien

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