A Pen by Misaki Nakano on CodePen.
This file contains 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="js-picker picker"> | |
<svg class="cursor js-cursor" width="278" height="278" viewBox="0 0 278 278" xmlns="http://www.w3.org/2000/svg"><g fill-rule="nonzero" fill="#000"><g fill-rule="nonzero" fill="#000"><path class="filter" d="M179.023 128.25c2.18-2.186 2.18-5.68 0-7.866L63.425 4.596c-2.618-2.62-6.107-4.04-9.815-4.04H14.46C6.824.555.61 6.78.61 14.425v39.216c0 3.66 1.47 7.21 4.034 9.83l115.6 115.79c2.18 2.184 5.67 2.184 7.85 0l50.93-51.013z"/><path d="M270.74 259.384c11.23-16.658 7.796-39.324-6.38-53.58l-42.805-42.82 15.704-15.674c2.18-2.184 2.18-5.68 0-7.865l-11.78-11.797c-2.126-2.13-5.452-2.13-7.633-.11l-90.46 90.61c-2.02 2.185-1.964 5.57.108 7.647l11.778 11.797c2.18 2.185 5.67 2.185 7.852 0l15.704-15.675 43.893 43.966c18.05 18.024 48.857 15.894 64.016-6.5z"/></g></g></svg> | |
<header> | |
<h2 class="js-picker__colorName">Hot Pink</h2> | |
<h1 class="js-picker__colorValue">#ff69b4</h1> | |
</header> | |
</div> |
This file contains 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
/** | |
* Raindrop fragment shader, being used by PIXI.js in the EffectCanvas object | |
* {{uniforms: {time: {type: string, value: number}, iResolution: {type: string, value: [*]}}, fragment: string}} | |
*/ | |
const shaderData = { | |
uniforms: { | |
iResolution: { | |
type: 'v2', | |
value: [ | |
window.innerWidth, |
This file contains 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
<!-- https://twitter.com/wearenextcode --> | |
<!-- https://twitter.com/TaminoMartinius --> |
This file contains 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 id="pane"> | |
<div id="title">Resize, Drag or Snap Me!</div> | |
</div> | |
<div id="ghostpane"></div> |
This file contains 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
.icons | |
%div | |
.play | |
%div | |
.stop | |
%div | |
.pause | |
%div | |
.back | |
%div |
This file contains 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 id="content"> | |
<span class="expand"> | |
Oh well, heil Hitler, bitch! And let me tell you something else. So what're you saying? Like, I shot someone with, like, a gun? We flipped a coin, okay? You and me. You and me! Coin flip is sacred! | |
</span> | |
</div> | |
<div id="content"> | |
<span class="expand"> | |
Your job is waiting for you in that basement, as per the coin! I took this vo-tech class in high school, woodworking. I took a lot of vo-tech classes, because it was just big jerk-off, but this one time I had | |
</span> | |
</div> |
Inspired by Pokemon Go, a CSS-only animated version of Eevee. Works best in Chrome and Firefox.
A Pen by David Khourshid on CodePen.
This file contains 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="landscape"></div> | |
<div class="filter"></div> | |
<canvas id="canvas"></canvas> |
This file contains 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 id="container"></div> | |
<div id="info"> | |
<div class="mode"> | |
<div class="action" id="vr_mode"><span>vr mode <br/>(Split Screen + Device Orientation)</span></div> | |
<div class="action" id="desktop_mode"><span>desktop mode</span></div> | |
</div> | |
<div class="attraction"> | |
<div class="action" id="rollercoaster"><span>rollercoaster</span></div> | |
<div class="action" id="ferris_wheel"><span>ferris wheel</span></div> | |
<div class="action" id="monster"><span>monster</span></div> |