Skip to content

Instantly share code, notes, and snippets.

@garrows
Last active August 29, 2015 14:20
Show Gist options
  • Save garrows/0f296b7150f597094748 to your computer and use it in GitHub Desktop.
Save garrows/0f296b7150f597094748 to your computer and use it in GitHub Desktop.
Atom.io random cat background
.panes::after {
content: "";
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
pointer-events: none;
background: url("http://thecatapi.com/api/images/get?format=src&type=jpg,png");
background-size: cover;
opacity: 0.2;
transform: translate3d(0,0,0);
-webkit-transform: translate3d(0,0,0);
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment