Based up on this TokenPhrase Ruby Gem I decided to quickly write a PHP variant of it. With it, one can generate unique phrases for you to use in your app as tokens. <?php require_once __DIR__ . ‘/../src/autoload.php’; for ($i = 0; $i < 10; $i++) { echo TokenPhrase\TokenPhrase::generate() . PHP_EOL; } The resulting output …
Tag Archives: link
Increasing the Clickable Area of Inline Links
What no one told you about z-index
Rotating Words with CSS Animations
Airbnb JavaScript Style Guide
Adobe Creative Suite 2 now Free
Spark SVG
Easily integrate sparklines into your website. Host it yourself, or embed the hosted version. <embed src="//sparksvg.me/line.svg?10,12,3,4,8,20,15,9,7,9,10,6,4,0,4,7,10,8,12,9,7,3,0" type="image/svg+xml"> Results in: The service also offers charts with bars and dots. Spark SVG →Spark SVG Test Page →
Super Resize Me
Elusive Icons
Flickable — A Zepto Plugin to Enable Touch Gestures on Any HTML Element
Zepto is great for handling basic gesture events, but for more complex touch interactions it can be lacking. Flickable allows you to make any element touchable; useful for flicking between sections, or sliding elements around the page. Flickable → Flickable Thumbnail Slider Demo → Looking for a jQuery flickable plugin? Check out jQuery.flickable. Note that …
Continue reading “Flickable — A Zepto Plugin to Enable Touch Gestures on Any HTML Element”