Hacking together a solution to show part of an element in a card as a default state, lining up the element headline across each card and then animating the element to the center of its parent element
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
<body> | |
<canvas id="canvas" width="1400" height="600"></canvas> | |
</body> |
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
<body> | |
<canvas id="canvas" width="1400" height="600"></canvas> | |
</body> |
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
<body> | |
<canvas id="canvas" width="1400" height="600"></canvas> | |
</body> |
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="login-box"> | |
<h2>Login</h2> | |
<form> | |
<div class="user-box"> | |
<input type="text" name="" required=""> | |
<label>Username</label> | |
</div> | |
<div class="user-box"> | |
<input type="password" name="" required=""> | |
<label>Password</label> |
Hacking together a solution to show part of an element in a card as a default state, lining up the element headline across each card and then animating the element to the center of its parent element
A Pen by Ryan Mulligan 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="jake"> | |
<div class="face"> | |
<div class="eye"> | |
<div class="cheek-left"></div> | |
</div> | |
<div class="eye"> | |
<div class="cheek-right"></div> | |
</div> | |
<div class="mustache"> |
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="jake"> | |
<div class="face"> | |
<div class="eye"> | |
<div class="cheek-left"></div> | |
</div> | |
<div class="eye"> | |
<div class="cheek-right"></div> | |
</div> | |
<div class="mustache"> |
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="main"> | |
<h1>something</h1> | |
<div class="content"> | |
<p>You can press <kbd>▲</kbd> <kbd>▼</kbd> on your keyboard or swipe up/down to navigate. Mouse wheel works too.</p> | |
<p><a href="https://codepen.io/theseventh" target="_blank">codepen</a> // <a href="https://twitter.com/the_seventh_kek" target="_blank">twitter</a> | |
</div> | |
<div class="buttons"> | |
<button class="next" onclick="go(-1)"></button> | |
<button class="prev" onclick="go(1)"></button> | |
</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="main"> | |
<h1>something</h1> | |
<div class="content"> | |
<p>You can press <kbd>▲</kbd> <kbd>▼</kbd> on your keyboard or swipe up/down to navigate. Mouse wheel works too.</p> | |
<p><a href="https://codepen.io/theseventh" target="_blank">codepen</a> // <a href="https://twitter.com/the_seventh_kek" target="_blank">twitter</a> | |
</div> | |
<div class="buttons"> | |
<button class="next" onclick="go(-1)"></button> | |
<button class="prev" onclick="go(1)"></button> | |
</div> |
OlderNewer