A Pen by Chris Sevilleja 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
<form> | |
<h1>Material Design Text Input With No Extra Markup</h1> | |
<input placeholder="Username" type="text" required=""> | |
<input placeholder="Password" type="password" required=""> | |
<button>Submit</button> | |
</form> | |
<a class="follow" href="https://twitter.com/mildrenben" target="_blank"><i class="fa fa-twitter"></i>Follow Me</a> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> |
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
<section class="site-container padding-tb"> | |
<section class="card wow fadeInLeft"> | |
<h3 class="wow fadeInDown" data-wow-delay="0.4s">Login Form</h3> | |
<form action="#" class="form" method="post"> | |
<div class="form__wrapper wow fadeInDown" data-wow-delay="0.5s"> | |
<input type="email" class="form__input" id="email" name="email"> |
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
<main> | |
<canvas data-img=""></canvas> | |
<div class="mask"> | |
<div class="mask-inner"> | |
</div> | |
</div> | |
</main> | |
<a class="button">Clear</a> |
Requires a browser that can handle CSS filter (or -webkit-filter).
A Pen by Matt Popovich on CodePen.
A Pen by Richard Gonyeau 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="profile_container scream"> | |
<div class="background"></div> | |
<div class="foreground"> | |
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/261873/surprised_mimi_500x500_saturated.png" alt="" class="profile"> | |
</div> | |
</div> | |
<div class="profile_container la"> | |
<div class="background"></div> | |
<div class="foreground"> |
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="profile_container scream"> | |
<div class="background"></div> | |
<div class="foreground"> | |
<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/261873/surprised_mimi_500x500_saturated.png" alt="" class="profile"> | |
</div> | |
</div> | |
<div class="profile_container la"> | |
<div class="background"></div> | |
<div class="foreground"> |
This is an experiment on how SVG patterns can help us create masked-like images for a CSS-only image slider.
CHANGELOG
Added will-change
property to improve performance.
A Pen by Damián Muti 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 id="root"></div> | |
<a href="https://s.codepen.io/jscottsmith/debug/dRBOzE" rel="noopener" target="_blank" class="fullscreen"> | |
<svg version="1.1" x="0px" y="0px" width="30px" height="30px" viewBox="0 0 30 30"> | |
<polygon fill="#FFF" points="16.5,15 23.1,8.3 26,11.2 26,4 18.8,4 21.7,6.9 15,13.5 8.3,6.9 11.2,4 4,4 4,11.2 6.9,8.3 13.5,15 6.9,21.7 4,18.8 4,26 11.2,26 8.3,23.1 15,16.5 21.7,23.1 18.8,26 26,26 26,18.8 23.1,21.7 "/> | |
</svg> | |
</a> |