This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <section class="header"> | |
| <h1>Smooth Ken Burns Effect Using the Transition Property</h1> | |
| <p><a href="http://paulirish.com/2012/why-moving-elements-with-translate-is-better-than-posabs-topleft/">Paul Irish</a> on why translate is better than positioning to move elements. The same is true for a lot of transition values and their counterparts. The first image shows a Ken Burns effect using transition:scale;. The second uses zoom; notice how at the very end of the animation the image is pixel fit, causing a stuttering effect on the bottom.</p> | |
| </section> | |
| <div class="imageWrapper"><div class="image"> | |
| <img src="http://static.squarespace.com/static/4fb50a18e4b0f2fffeb51dda/4fb50a19e4b0f2fffeb51ddf/50255b3184ae111bdb329ce6/1344625457128/sqspc2-1.jpg?format=1500w" /> | |
| </div></div> | |
| <div class="imageWrapperZoom"><div class="imageZoom"> | |
| <img src="http://static.squarespace.com/static/4fb50a18e4b0f2fffeb51dda/4fb50a19e4b0f2fffeb51ddf/50255b3184ae111bdb329ce6/1344625457128/sqspc2-1.jpg?format=1500w" /> | |
| </div></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .header | |
| %h1.galaxy | |
| GALACTICA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="layouts_grid" id="layouts_grid"> | |
| <ul> | |
| <li class="layout_block" data-id="7" data-row="1" data-col="1" data-sizex="1" data-sizey="1" style="background-color: #D24726;"> | |
| <div class="remove_element">X</div> | |
| <div class="info"> | |
| <span class="block_name">Logo</span> | |
| </div> | |
| </li> | |
| <li class="layout_block" data-id="2" data-row="1" data-col="2" data-sizex="5" data-sizey="1" style="background-color: #15992A;"> | |
| <div class="remove_element">X</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <canvas id="canvas"></canvas> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <section class="main"> | |
| <article>Gally maroon schooner wench provost fathom haul wind parrel chantey brigantine. Jack lass ho coffer sutler gabion fire in the hole spike yo-ho-ho Sail ho. </article> | |
| <article>Ho six pounders Arr black spot port jib hogshead spirits bilge rat Admiral of the Black. Blow the man down measured fer yer chains hail-shot jolly boat gangway pillage lugsail wherry Jolly Roger Privateer. </article> | |
| <article>Lass gangplank bilged on her anchor bring a spring upon her cable rigging lookout Admiral of the Black sheet wench rutters. </article> | |
| <article> Driver rope's end port spirits cog fore ye snow sloop hogshead. Belaying pin yo-ho-ho bilge rat come about squiffy spirits jack galleon Brethren of the Coast hang the jib.</article> | |
| <article>Hail-shot jolly boat gangway pillage lugsail wherry Jolly Roger Privateer. </article> | |
| <article>Plate Fleet strike colors nipper league warp to go on </article> | |
| <article>Admiral of the Black sheet wench rutters.</article> | |
| <article |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <figure> | |
| <h1>3d CSS GLOW</h1> | |
| <h1>3d CSS GLOW</h1> | |
| <h1>3d CSS GLOW</h1> | |
| <h1>3d CSS GLOW</h1> | |
| <h1>3d CSS GLOW</h1> | |
| <h1>3d CSS GLOW</h1> | |
| <h1>3d CSS GLOW</h1> | |
| <h1>3d CSS GLOW</h1> | |
| <h1>3d CSS GLOW</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| background: #f06; | |
| background: linear-gradient(45deg, #f06, yellow); | |
| min-height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Animated HTML5 / CSS3 image caption - Example 4 | |
| */ | |
| /* page styles */ | |
| body{ | |
| background: #fff; | |
| min-height:100%; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * CSS text-shadows - Example 2 | |
| */ | |
| /* page styles */ | |
| @font-face { | |
| font-family: 'ChunkFiveRegular'; | |
| src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot'); | |
| src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/chunkfive-webfont.eot?iefix') format('eot'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * CSS text-shadows - Example 3 | |
| */ | |
| /* page styles */ | |
| @font-face { | |
| font-family: 'Museo700'; | |
| src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/museo700-regular-webfont.eot'); | |
| src: url('http://www.midwinter-dg.com/blog_demos/css-text-shadows/fonts/museo700-regular-webfont.eot?iefix') format('eot'), |
OlderNewer