Nike Cube Shadow Pure CSS

Developer
Size
2,327 Kb
Views
42,504

How do I make an nike cube shadow pure css?

A pure css version of nike's cube shadow they use for their homepage. What is a nike cube shadow pure css? How do you make a nike cube shadow pure css? This script and codes were developed by ThatGuySam on 06 August 2022, Saturday.

Nike Cube Shadow Pure CSS Previews

Nike Cube Shadow Pure CSS - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Nike Cube Shadow Pure CSS</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel='stylesheet prefetch' href='http://fonts.googleapis.com/css?family=Oswald'>
<link rel='stylesheet prefetch' href='http://fonts.googleapis.com/css?family=Open+Sans'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container cube-shadow e-o-quint"> <img class="e-o-quint" src="https://unsplash.it/300/200">
</div> <h2>Awesome Shoe</h2> <p>This shoe is awesome, seriously!</p> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Nike Cube Shadow Pure CSS - Script Codes CSS Codes

body { text-align: center; font-family: 'Open Sans';
}
h2 { text-transform: uppercase; font-family: 'Oswald';
}
.container { position: relative; margin: 1em; padding: 0; display: inline-block; z-index: 10;
}
.container img { display: block; -webkit-transform: scale(0.95); -moz-transform: scale(0.95); -ms-transform: scale(0.95); -o-transform: scale(0.95); transform: scale(0.95); -webkit-transform-origin: center bottom; -moz-transform-origin: center bottom; -ms-transform-origin: center bottom; -o-transform-origin: center bottom; transform-origin: center bottom;
}
.container:hover img { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);
}
/* The Meat */
.cube-shadow:before { content: ""; position: absolute; bottom: 0; left: 0; right: 0; z-index: -20; margin: 0 13%; width: 74%; height: 100%; box-shadow: 0px 7px 17px rgba(0, 0, 0, 0.7); -webkit-transform-origin: center bottom; -moz-transform-origin: center bottom; -ms-transform-origin: center bottom; -o-transform-origin: center bottom; transform-origin: center bottom; -webkit-transform: perspective(75px) rotate3d(1, 0, 0, 60deg); -moz-transform: perspective(75px) rotate3d(1, 0, 0, 60deg); -ms-transform: perspective(75px) rotate3d(1, 0, 0, 60deg); -o-transform: perspective(75px) rotate3d(1, 0, 0, 60deg); transform: perspective(75px) rotate3d(1, 0, 0, 60deg);
}
.cube-shadow:hover:before { box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.6); -webkit-transform-origin: center bottom; -moz-transform-origin: center bottom; -ms-transform-origin: center bottom; -o-transform-origin: center bottom; transform-origin: center bottom;
}
/*Easing Stuff*/
.e-o-quint,
.e-o-quint:before{
-webkit-transition: all 150ms cubic-bezier(0.215, 0.610, 0.355, 1.000); -moz-transition: all 150ms cubic-bezier(0.215, 0.610, 0.355, 1.000); -o-transition: all 150ms cubic-bezier(0.215, 0.610, 0.355, 1.000); transition: all 150ms cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); -moz-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); -o-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); /* easeOutCubic */
}

Nike Cube Shadow Pure CSS - Script Codes JS Codes

/* from http://www.nike.com/
*/
Nike Cube Shadow Pure CSS - Script Codes
Nike Cube Shadow Pure CSS - Script Codes
Home Page Home
Developer ThatGuySam
Username ThatGuySam
Uploaded August 06, 2022
Rating 3
Size 2,327 Kb
Views 42,504
Do you need developer help for Nike Cube Shadow Pure CSS?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

ThatGuySam (ThatGuySam) Script Codes
Create amazing love letters with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!