Skip to content

Instantly share code, notes, and snippets.

Saving dinosaurs

Thomas J Bradley thomasjbradley

Saving dinosaurs
Block or report user

Report or block thomasjbradley

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
thomasjbradley / scrolling-animation.js
Last active Oct 29, 2018
A replacement for jQuery in the JavaScript & jQuery effects video playlist.
View scrolling-animation.js
var sun = document.querySelector('.sun');
window.addEventListener('scroll', function () {
var top = window.scrollTop / 3; = 'rotate(' + top + 'deg)';
View canvas-fixup.css
@import url(',700');
@-moz-viewport { width: device-width; scale: 1; }
@-ms-viewport { width: device-width; scale: 1; }
@-o-viewport { width: device-width; scale: 1; }
thomasjbradley / LICENSE
Last active Mar 13, 2017
Swiper—a really basic left/right swiping event handler that tries to be helpful and not interfere with up/down scrolling.
MIT License
Copyright (c) 2017 Thomas J Bradley
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
You can’t perform that action at this time.