Spinning Watermark, implemented in CSS
Based on a Pen by Secret Sam on CodePen.
| /* logger */ | |
| // define the styles we'll use for logger | |
| var cssText = [ | |
| "position: fixed;", | |
| "height: 80px;", | |
| "bottom: 0px;", | |
| "left: 0;", | |
| "right: 0;", | |
| "margin: 0;", |
| /** | |
| * Given an integer, determine if it is a palindrome using only mathematical operations | |
| * @param {Integer} num - an integer number to be tested for palindromy-ness | |
| */ | |
| function isIntegerPalindrome( num ) { | |
| // all single digits are by definition palindromes | |
| if( num < 10 ) { | |
| return true; | |
| } | |
Spinning Watermark, implemented in CSS
Based on a Pen by Secret Sam on CodePen.