cd coding-directorynpm init -ynpm install --save-dev --save-exact eslint eslint-config-airbnb-base eslint-plugin-import- Create
.eslintrcfile with following content:
{
"extends": "airbnb-base",
"env": {
"browser": true,
"node": truecd coding-directorynpm init -ynpm install --save-dev --save-exact eslint eslint-config-airbnb-base eslint-plugin-import.eslintrc file with following content:{
"extends": "airbnb-base",
"env": {
"browser": true,
"node": truehttps instead of http| <section> | |
| <div class="animation-element slide-left"> | |
| <h2>Sliding left</h2> | |
| </div> | |
| <div class="animation-element slide-right"> | |
| <h2>Sliding right</h2> | |
| </div> | |
| <div class="animation-element slide-left"> | |
| <h2>Sliding left</h2> |
| <div class="scene"> | |
| <div class="page page-1 active"> | |
| <div class="half left"></div> | |
| <div class="half right withText"> | |
| <h2 class="heading">Page 1</h2> | |
| </div> | |
| </div> | |
| <div class="page page-2"> | |
| <div class="half left withText"> | |
| <h2 class="heading">Page 2</h2> |
Source of inspiration - http://www.ginventory.co/
DESKTOP ONLY. Full-HD is ideal.
Originally I did only rotating yellow block animation. But then I found out that this concept looks useless without some object in the middle of screen. So I decided to put other demos inside this phone mockup! This is a reason why I'm using sort of preloader (with static animation time), to prevent some major lags on start, when 5 iframes are loading (but still, if you have slow internet or pc, this demo can be painful for you).
Right now rotater not working in IE, probably some "calc" problems, will try to fix it later. No idea how this works in Safari.
Click on the hexagon to transition the panels.
A Pen by Ryan Mulligan on CodePen.
| #fullpage | |
| .section.one | |
| h1 Here's a great | |
| h2 tagline to read | |
| .section.two | |
| h1 Oh look, another phrase | |
| h2 to stand out | |
| .section.three | |
| h1 Finally, this is the | |
| h2 last slide |
| <div class="scene"> | |
| <div class="img-cont left cont-1" data-helper="0" data-blocks="1"></div> | |
| <div class="img-cont right cont-1" data-helper="0" data-blocks="1"></div> | |
| <div class="content cont-1"> | |
| <h2 class="title">Page 1 Content</h2> | |
| <p class="content-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quisquam, soluta, incidunt. Recusandae veritatis quam quos quaerat molestiae rem officiis blanditiis, nulla sed, corporis, sunt eveniet earum sapiente officia possimus eligendi.</p> | |
| <span class="close">+</span> | |
| </div> | |
| <div class="img-cont left cont-2" data-helper="-1" data-blocks="2"></div> | |
| <div class="img-cont right cont-2" data-helper="1" data-blocks="2"></div> |
Exploring a slider concept designed by @ErnestAsanov and by the awesome team at Tubik Studio.
A Pen by mario s maselli on CodePen.
| .slider | |
| .slider__slide.slider__slide--active( data-slide="1" ) | |
| .slider__wrap | |
| .slider__back | |
| .slider__inner | |
| .slider__content | |
| h1 Slide <br> One | |
| a.go-to-next next | |
| .slider__slide( data-slide="2" ) | |
| .slider__wrap |