You may be tempted to call these "voxels", but don't. That's just silly.
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></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
<!-- HTML stolen from Amazon.com to populate a large DOM for more realistic performance measurements --> | |
<div id="a-page"> | |
<a id="nav-top"></a> | |
<div id="nav-upnav" aria-hidden="true" style=""> | |
<a href="/stream/ref=nav_upnav_LargeImage_T2_Gateway" class="nav-a" tabindex="5"><span class="nav-spanAltText">Interesting Finds Updated Daily</span></a> | |
</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 class="panels"> | |
<a href="#" class="panel"> | |
<div class="panel__content" style="background-image: url(https://unsplash.it/1100/1100/?image=760);"> | |
<h3 class="panel__title">A</h3> | |
</div> | |
</a> | |
<a href="#" class="panel"> | |
<div class="panel__content" style="background-image: url(https://unsplash.it/1100/1100/?image=786)"> | |
<h3 class="panel__title">B</h3> | |
</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 class="svg-bg"> | |
<label> | |
<span class="svg-bg__label">Your SVG: <small>(Type or upload)</small> <div class="svg-bg__button" is="file-upload" v-on:load="loaded">Upload SVG</div></span> | |
<textarea class="svg-bg__input" ref="input" v-model="input"> | |
</textarea> | |
</label> | |
<span class="svg-bg__label">background-image for CSS: | |
<button class="svg-bg__button" v-on:click="copy">Copy Output</button></span> |
Sliding panels around to give greater emphasis to the active panel. Uses only CSS :hover
states with transform
/opacity
transitions for maximum performance.
Responsively switches to a stacked layout on smaller screens, or by using the .panels--stacked
class