LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code
HOVER OVER THE BOX TO SEE THE TRANSITION EFFECT
TRANSITION EFFECT
+
CSS
* { padding: 0; margin: 0; }
body { font-family: Sans-Serif; }

.work-container {
	max-width: 300px;
	height: auto;
	margin: auto;
	border-bottom: 1px solid #EEE;
	padding-bottom: 60px;
}
.work-title {
	font-size: 20px;
	font-weight: 300;
	text-align: center;
	letter-spacing: 0.2em;
	color: #BFA142;
	padding: 60px;
	background: #FFF;
	border-top: 1px solid #EEE;
	border-bottom: 1px solid #EEE;
	margin-bottom: 60px;
}
.work-unit {
	width: 300px;
	height: 150px;
	display: block;
	float: left;
	background: #CCC;
	position: relative;
	overflow: hidden;
	border: 5px solid #BFA142;
  margin-bottom: 60px;
}
.info {
	font-size: 15px;
	text-align: center;
	color: #FFF;
	text-transform: uppercase;
	display: block;
	padding: 25px 0;
	transform: scale(5,5) rotate(25deg);
	-webkit-transform: scale(5,5) rotate(25deg);
	transition: all .6s ease-in-out;
	-webkit-transition: all .6s ease-in-out;
	z-index: 99;
}
.zoom-icon {
	font-size: 30px;
	text-align: center;
	line-height: 25px;
	color: #FFF;
	width: 30px;
	height: 30px;
	display: block;
	position: absolute;
	top: 250px;
	left: 50%;
	margin-left: -15px;
	border: 2px solid #FFF;
	border-radius: 50%;
	transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
	transform: scale(5,5) rotate(-180deg);
	-webkit-transform: scale(5,5) rotate(-180deg);
	z-index: 99;
}
.work-info {
	display: block;
	width: 100%;
	height: 150px;
	background: rgba(147,0,0,0.6);
	position: absolute;
	top: 150px;
	opacity: 0;
	z-index: 90;
}

.work-unit:hover .work-info { opacity: 1; }
.work-unit:hover .info { 
  top: 0px;
  transform: scale(1,1) rotate(0deg);
  -webkit-transform: scale(1,1) rotate(0deg); 
}
.work-unit:hover .zoom-icon { 
  top: 60px;
  transform: scale(1,1) rotate(0deg);
  -webkit-transform: scale(1,1) rotate(0deg); 
}
JS
// After Effects Like CSS3 Transition Effect
// Developed By S A Bokhari
// shah.bokhari@gmail.com
// @BokhariShah
Host Instantly Drag and Drop Website Builder

 

Description

This is an Awesome Example of CSS3 Transition Effect experimented and developed by S A Bokhari. Hope you will like it and use it in your projects.
Term
Mon, 11/27/2017 - 22:08

Related Codes

Pen ID
Pen ID
Pen ID