.caption { text-align: justify; text-align-last: center; } The text-align-last property describes how the last line of a block or a line right before a forced line break is aligned when ‘text-align’ is ‘justify’, which means you gain full control over the alignment of the last line of a block. As seen in the example above …
Tag Archives: link
Picturefill 2.0 alpha
<picture> <source srcset=”examples/images/extralarge.jpg” media=”(min-width: 1000px)”> <source srcset=”examples/images/large.jpg” media=”(min-width: 800px)”> <source srcset=”examples/images/medium.jpg”> <img srcset=”examples/images/medium.jpg” alt=”A giant stone face at The Bayon temple in Angkor Thom, Cambodia”> </picture> The picture element and associated features are W3C standard HTML features that allow web developers to deliver an appropriate image to every user depending on a variety of conditions …
Pop – Extensible iOS and OS X animation library
POPSpringAnimation *anim = [POPSpringAnimation animation]; … [layer pop_addAnimation:anim forKey:@”myKey”]; Pop is an extensible animation engine for iOS and OS X. In addition to basic static animations, it supports spring and decay dynamic animations, making it useful for building realistic, physics-based interactions. It’s a mature and well-tested framework that drives all the animations and transitions in …
Continue reading “Pop – Extensible iOS and OS X animation library”
Untrusted – a user javascript adventure game
Untrusted —or— the Continuing Adventures of Dr. Eval is an exciting Meta-Javascript Adventure Game wherein you guide the dashing, steadfast Dr. Eval through a mysterious MACHINE CONTINUUM, wherein, using only his trusty computer and the TURING-COMPLETE power of Javascript, he must literally ALTER HIS REALITY in order to find his freedom! You must literally edit …
Continue reading “Untrusted – a user javascript adventure game”
Exploring Google Maps for iOS
The Google Maps SDK for iOS is a powerful framework that makes it easy to add Google Maps to your app and take advantage of other useful Google services, such as geocoding, direction finding, and Google Street View. These free videos from Code School help you get up to speed quickly. You can watch all …
Getting modular with CSS animations
Neat little example showing how to combine CSS animations: Check out this Pen! Beware with animationend though, Firefox still has its quirks with it (in my experience it will fire most of the time, but sometimes it won’t). A video walking through the code is available Getting modular with CSS animations →
Internet Explorer Platform Status
Pixel Perfect Precision
WinJS – The Windows Library for JavaScript
Use WinJS to build first class apps with HTML, CSS, and JavaScript. WinJS provides high quality infrastructure like page controls, promises, and data-binding; polished UI features like virtualizing collections; and high performance Windows controls such as ListView, FlipView, and Semantic Zoom. Think of it as a mix of jQuery UI’s Components and a JavaScript MV* …
Continue reading “WinJS – The Windows Library for JavaScript”