Skip to content

Instantly share code, notes, and snippets.

@rlemon
Last active November 10, 2016 19:45
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 rlemon/7fd04fa87bb99589786f4b69e5dbb662 to your computer and use it in GitHub Desktop.
Save rlemon/7fd04fa87bb99589786f4b69e5dbb662 to your computer and use it in GitHub Desktop.
sample gist for robogist, name: spinner, id: 7fd04fa87bb99589786f4b69e5dbb662, matching: .*
.robogist-spin {
transition: all 500ms linear;
}
.robogist-spin:hover {
transform: rotate(360deg);
}
console.log('hello world! I am a file being loaded from robogist');
console.log('I am just showing DOM access, hover an image');
Array.from(document.images).forEach(image => image.classList.add('robogist-spin'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment