Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                
<link href="http://www.jecj.in/ufo/css/normalize.css" rel="stylesheet" type="text/css" />
		<link href='https://fonts.googleapis.com/css?family=Open+Sans:300,700' rel='stylesheet' type='text/css' />
		

<body style="height:800px; background:linear-gradient(45deg,#ffffa3,#ffffff);">
   		<ul class="ch-grid">
					<li>
						<div class="ch-item1 anima ch-img-2">
							<div class="ch-info-wrap">
								<div class="ch-info">
									<div class="ch-info-front ch-img-2"></div>
									<div class="ch-info-back">
										<h3>UNMESH</h3>
										<p><a href="">ADMIN</a></p>
									</div>
								</div>
							</div>
						</div>
					</li>
        <br/>
        <br/>
        <br/>
				    <li>
						<div class="ch-item2 anima ch-img-5">
							<div class="ch-info-wrap">
								<div class="ch-info">
									<div class="ch-info-front ch-img-5"></div>
									<div class="ch-info-back">
										<h3>UNMESH</h3>
										<p><a href="">ADMIN</a></p>
									</div>
								</div>
							</div>
						</div>
					</li>
                </ul>

             </td>
        </tr>
        </table>
  
   
              
            
!

CSS

              
                @import url("http://www.jecj.in/ufo/css/font-awesome/css/font-awesome.css");
@import url("http://www.jecj.in/ufo/css/style4.css");
@import url("http://www.jecj.in/ufo/css/common.css");
.ch-item1 {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	position: relative;
	box-shadow: 20px 20px 12px rgba(0,0,0,0.1);
	cursor:default;
  
}
.ch-item2 {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	position: relative;
	box-shadow: 20px 20px 12px rgba(0,0,0,0.1);
	cursor:default;
  
}

.anima
{
  -webkit-animation: myanima linear 10s infinite;
}

@-webkit-keyframes myanima
{0%{ -webkit-transform:translate3D(0 ,0,0) rotate(0deg);}
  30% { -webkit-transform:translate3D(20px,23px,23px) rotate(20deg) scale(0.8);}
  50%{-webkit-transform:translate3D(0px,0px,0px) rotate(-20deg)}
  70% { -webkit-transform:translate3D(-20px,0px,2px) rotate(0deg) scale(1.1);}
  100% { -webkit-transform:translate3D(0px 0px 0px) rotate(0deg);}
}

.ch-info-wrap{
	position: absolute;
	width: 110px;
	height: 110px;
	border-radius: 50%;

	-webkit-perspective: 800px;
	-moz-perspective: 800px;
	-o-perspective: 800px;
	-ms-perspective: 800px;
	perspective: 800px;

	-webkit-transition: all 4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;

	top: 20px;
	left: 20px;
	background: #f9f9f9 url(../images/bg.jpg);
	box-shadow: 
		0 0 0 20px rgba(255,255,255,0.2), 
		inset 0 0 3px rgba(115,114, 23, 0.8);

}

.ch-info{
	position: absolute;
	width: 110px;
	height: 110px;
	border-radius: 50%;
    
    text-align:center;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
		
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;

}

.ch-info > div {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-position: center center;
text-align:center;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: visible;
}

.ch-info .ch-info-back {
	-webkit-transform: rotate3d(0,1,0,180deg);
	-moz-transform: rotate3d(0,1,0,180deg);
	-o-transform: rotate3d(0,1,0,180deg);
	-ms-transform: rotate3d(0,1,0,180deg);
	transform: rotate3d(0,1,0,180deg);
	text-align:center;
	background: #000;
}


.ch-img-2  
{
  
    opacity: 1;
	background-image: url(http://www.jecj.in/ufo/images/buttonimg9.jpg);
}

.ch-img-5  
{
    opacity:0.6;
	background-image: url(http://www.jecj.in/ufo/images/buttonimg10.jpg);
}
.ch-info h3 {
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 14px;
	margin: 0 0px;
	padding: 35px 0 0px ;
	height: 60px;
	font-family: 'Open Sans', Arial, sans-serif;
	text-shadow: 
		0 0 1px #fff, 
		0 1px 2px rgba(0,0,0,0.3);
}

.ch-info p {
	color: #fff;
	padding: 0px 0px;
	font-style: italic;
	margin: 0 0px;
	font-size: 0px;
	border-top: 1px solid rgba(255,255,255,0.5);
}

.ch-info p a {
	display: block;
	color: #fff;
	color: rgba(255,255,255,0.7);
	font-style:normal;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 9px;
	text-decoration:none;
	letter-spacing: 1px;
	padding-top: 4px;
	font-family: 'Open Sans', Arial, sans-serif;
}

.ch-info p a:hover {
	color: #fff222;
	color: rgba(255,242,34, 0.8);
}

.ch-item1:hover .ch-info-wrap {
	box-shadow: 
		0 0 0 0 rgba(115,114,23,0.8), 
		inset 50px 30px 30px rgba(115,114, 23, 0.8);
}
.ch-item2:hover .ch-info-wrap {
	box-shadow: 
		0 0 0 0 rgba(115,114,23,0.8), 
		inset 50px 30px 30px rgba(115,114, 23, 0.8);
}

.ch-item1:hover .ch-info {
	-webkit-transform: rotate3d(10,50,0,-540deg) translateZ(200px);
	-moz-transform: rotate3d(10,50,0,-180deg) translateZ(200px);
	-o-transform: rotate3d(10,50,0,-180deg) translateZ(200px);
	-ms-transform: rotate3d(10,50,0,-180deg) translateZ(200px);
	transform: rotate3d(10,50,0,-180deg) translateZ(200px);
}

.ch-item2:hover .ch-info {
	-webkit-transform: rotate3d(10,50,0,-540deg) translateZ(200px);
	-moz-transform: rotate3d(10,50,0,-180deg) translateZ(200px);
	-o-transform: rotate3d(10,50,0,-180deg) translateZ(200px);
	-ms-transform: rotate3d(10,50,0,-180deg) translateZ(200px);
	transform: rotate3d(10,50,0,-180deg) translateZ(200px);
}
              
            
!

JS

              
                $(".ch-item1").on("mouseover",function(){
  $(".ch-item1").toggleClass("anima");});
$(".ch-item1").on("mouseout",function(){
  $(".ch-item1").toggleClass("anima");});
$(".ch-item2").on("mouseover",function(){
  $(".ch-item2").toggleClass("anima");});
$(".ch-item2").on("mouseout",function(){
  $(".ch-item2").toggleClass("anima");});
              
            
!
999px

Console