Difference between revisions of "Team:TP-CC San Diego/Templates/AnimationCSS"

 
(24 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<head>
 
<head>
 
<style>
 
<style>
    ih-item.circle.effect13 .info {
+
.ih-item.circle.effect10 .img {
background:#333;
+
  z-index: 11;
background:rgba(0,0,0,0.6);
+
  -webkit-transform: scale(1);
opacity:0;
+
  -moz-transform: scale(1);
pointer-events:none;
+
  -ms-transform: scale(1);
-webkit-transition:all 0.35s ease-in-out;
+
  -o-transform: scale(1);
-moz-transition:all 0.35s ease-in-out;
+
  transform: scale(1);
transition:all 0.35s ease-in-out}
+
  -webkit-transition: all 0.35s ease-in-out;
 +
  -moz-transition: all 0.35s ease-in-out;
 +
  transition: all 0.35s ease-in-out;
 +
}
 +
.ih-item.circle.effect10.colored .info {
 +
  background: #1a4a72;
 +
}
 +
.ih-item.circle.effect10 .info {
 +
  background: #333333;
 +
  opacity: 0;
 +
  -webkit-transform: scale(0);
 +
  -moz-transform: scale(0);
 +
  -ms-transform: scale(0);
 +
  -o-transform: scale(0);
 +
  transform: scale(0);
 +
  -webkit-transition: all 0.35s ease-in-out;
 +
  -moz-transition: all 0.35s ease-in-out;
 +
  transition: all 0.35s ease-in-out;
 +
}
 +
.ih-item.circle.effect10 .info h3 {
 +
  color: #fff;
 +
  text-transform: uppercase;
 +
  position: relative;
 +
  letter-spacing: 2px;
 +
  font-size: 22px;
 +
  text-shadow: 0 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.3);
 +
}
 +
.ih-item.circle.effect10 .info p {
 +
  color: #bbb;
 +
  font-style: italic;
 +
  font-size: 12px;
 +
  border-top: 1px solid rgba(255, 255, 255, 0.5);
 +
}
 +
.ih-item.circle.effect10 a:hover .info {
 +
  visibility: visible;
 +
  opacity: 1;
 +
  -webkit-transform: scale(1);
 +
  -moz-transform: scale(1);
 +
  -ms-transform: scale(1);
 +
  -o-transform: scale(1);
 +
  transform: scale(1);
 +
}
  
.ih-item.circle.effect13 .info h3{
+
.ih-item.circle.effect10.top_to_bottom .info h3 {
visibility:hidden;
+
  margin: 0 30px;
color:#fff;
+
  padding: 25px 0 0 0;
text-transform:uppercase;
+
  height: 78px;
position: relative;
+
}
letter-spacing:2px;
+
.ih-item.circle.effect10.top_to_bottom .info p {
font-size:22px;
+
  margin: 0 30px;
margin:0 30px;
+
  padding: 5px;
padding: 0 0 0 0;
+
}
height:110px;
+
.ih-item.circle.effect10.top_to_bottom a:hover .img {
text-shadow:0 0 1px #fff,0 1px 2px rgba(0,0,0,0.3);
+
  -webkit-transform: translateY(50px) scale(0.5);
-webkit-transition:all 0.35s ease-in-out;
+
  -moz-transform: translateY(50px) scale(0.5);
-moz-transition:all 0.35s ease-in-out;
+
  -ms-transform: translateY(50px) scale(0.5);
transition:all 0.35s ease-in-out}
+
  -o-transform: translateY(50px) scale(0.5);
 +
  transform: translateY(50px) scale(0.5);
 +
}
  
.ih-item.circle.effect13 .info p{
+
.ih-item.circle.effect10.bottom_to_top .info h3 {
visibility:hidden;
+
  margin: 95px 30px 0;
color:#bbb;
+
  padding: 25px 0 0 0;
padding:0px 5px;
+
  height: 78px;
font-style:italic;
+
}
margin:0 30px;
+
.ih-item.circle.effect10.bottom_to_top .info p {
font-size:12px;
+
  margin: 0 30px;
border-top:1px solid rgba(255,255,255,0.5);
+
  padding: 5px;
-webkit-transition:all 0.35s ease-in-out;
+
}
-moz-transition:all 0.35s ease-in-out;
+
.ih-item.circle.effect10.bottom_to_top a:hover .img {
transition:all 0.35s ease-in-out}
+
  -webkit-transform: translateY(-50px) scale(0.5);
 +
  -moz-transform: translateY(-50px) scale(0.5);
 +
  -ms-transform: translateY(-50px) scale(0.5);
 +
  -o-transform: translateY(-50px) scale(0.5);
 +
  transform: translateY(-50px) scale(0.5);
 +
}
 +
   
 +
.ih-item.circle.effect10 .img {
 +
z-index: 11;
 +
-webkit-transform: scale(1);
 +
-moz-transform: scale(1);
 +
-ms-transform: scale(1);
 +
-o-transform: scale(1);
 +
transform: scale(1);
 +
-webkit-transition: all 0.35s ease-in-out;
 +
-moz-transition: all 0.35s ease-in-out;
 +
transition: all 0.35s ease-in-out
 +
}
  
.ih-item.circle.effect13 a:hover .info{
+
.ih-item.circle.effect10.colored .info {
opacity:1}
+
background: #1a4a72
 +
}
  
.ih-item.circle.effect13 a:hover h3{
+
.ih-item.circle.effect10 .info {
visibility:visible}
+
background: #333;
 +
opacity: 0;
 +
-webkit-transform: scale(0);
 +
-moz-transform: scale(0);
 +
-ms-transform: scale(0);
 +
-o-transform: scale(0);
 +
transform: scale(0);
 +
-webkit-transition: all 0.35s ease-in-out;
 +
-moz-transition: all 0.35s ease-in-out;
 +
transition: all 0.35s ease-in-out
 +
}
  
.ih-item.circle.effect13 a:hover p{
+
.ih-item.circle.effect10 .info h3 {
visibility:visible}
+
color: #fff;
 +
text-transform: uppercase;
 +
position: relative;
 +
letter-spacing: 2px;
 +
font-size: 22px;
 +
text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.3)
 +
}
  
.ih-item.circle.effect13.from_left_and_right .info h3{
+
.ih-item.circle.effect10 .info p {
-webkit-transform:translateX(-100%);
+
color: #bbb;
-moz-transform:translateX(-100%);
+
font-style: italic;
-ms-transform:translateX(-100%);
+
font-size: 12px;
-o-transform:translateX(-100%);
+
border-top: 1px solid rgba(255, 255, 255, 0.5)
transform:translateX(-100%)}
+
}
  
.ih-item.circle.effect13.from_left_and_right .info p{
+
.ih-item.circle.effect10 a:hover .info {
-webkit-transform:translateX(100%);
+
visibility: visible;
-moz-transform:translateX(100%);
+
opacity: 1;
-ms-transform:translateX(100%);
+
-webkit-transform: scale(1);
-o-transform:translateX(100%);
+
-moz-transform: scale(1);
transform:translateX(100%)}
+
-ms-transform: scale(1);
 +
-o-transform: scale(1);
 +
transform: scale(1)
 +
}
  
.ih-item.circle.effect13.from_left_and_right a:hover h3{
+
.ih-item.circle.effect10.top_to_bottom .info h3 {
-webkit-transform:translateX(0);
+
margin: 0 30px;
-moz-transform:translateX(0);
+
padding: 25px 0 0 0;
-ms-transform:translateX(0);
+
height: 78px
-o-transform:translateX(0);
+
}
transform:translateX(0)}
+
  
.ih-item.circle.effect13.from_left_and_right a:hover p{
+
.ih-item.circle.effect10.top_to_bottom .info p {
-webkit-transform:translateX(0);
+
margin: 0 30px;
-moz-transform:translateX(0);
+
padding: 5px
-ms-transform:translateX(0);
+
}
-o-transform:translateX(0);
+
transform:translateX(0)}
+
  
.ih-item.circle.effect13.top_to_bottom .info h3{
+
.ih-item.circle.effect10.top_to_bottom a:hover .img {
-webkit-transform:translateY(-100%);
+
-webkit-transform: translateY(50px) scale(0.5);
-moz-transform:translateY(-100%);
+
-moz-transform: translateY(50px) scale(0.5);
-ms-transform:translateY(-100%);
+
-ms-transform: translateY(50px) scale(0.5);
-o-transform:translateY(-100%);
+
-o-transform: translateY(50px) scale(0.5);
transform:translateY(-100%)}
+
transform: translateY(50px) scale(0.5)
 +
}
  
.ih-item.circle.effect13.top_to_bottom .info p{
+
.ih-item.circle.effect10.bottom_to_top .info h3 {
-webkit-transform:translateY(-100%);
+
margin: 95px 30px 0;
-moz-transform:translateY(-100%);
+
padding: 25px 0 0 0;
-ms-transform:translateY(-100%);
+
height: 78px
-o-transform:translateY(-100%);
+
}
transform:translateY(-100%)}
+
  
.ih-item.circle.effect13.top_to_bottom a:hover h3{
+
.ih-item.circle.effect10.bottom_to_top .info p {
-webkit-transform:translateY(0);
+
margin: 0 30px;
-moz-transform:translateY(0);
+
padding: 5px
-ms-transform:translateY(0);
+
}
-o-transform:translateY(0);
+
transform:translateY(0)}
+
 
+
.ih-item.circle.effect13.top_to_bottom a:hover p{
+
-webkit-transform:translateY(0);
+
-moz-transform:translateY(0);
+
-ms-transform:translateY(0);
+
-o-transform:translateY(0);
+
transform:translateY(0)}
+
 
+
.ih-item.circle.effect13.bottom_to_top .info h3{
+
-webkit-transform:translateY(100%);
+
-moz-transform:translateY(100%);
+
-ms-transform:translateY(100%);
+
-o-transform:translateY(100%);
+
transform:translateY(100%)}
+
 
+
.ih-item.circle.effect13.bottom_to_top .info p{
+
-webkit-transform:translateY(100%);
+
-moz-transform:translateY(100%);
+
-ms-transform:translateY(100%);
+
-o-transform:translateY(100%);
+
transform:translateY(100%)}
+
 
+
.ih-item.circle.effect13.bottom_to_top a:hover h3{
+
-webkit-transform:translateY(0);
+
-moz-transform:translateY(0);
+
-ms-transform:translateY(0);
+
-o-transform:translateY(0);
+
transform:translateY(0)}
+
 
+
.ih-item.circle.effect13.bottom_to_top a:hover p{
+
-webkit-transform:translateY(0);
+
-moz-transform:translateY(0);
+
-ms-transform:translateY(0);
+
-o-transform:translateY(0);
+
transform:translateY(0)}
+
 
+
<!--info-back-->
+
  
.info-back{background:#1a4a72;
+
.ih-item.circle.effect10.bottom_to_top a:hover .img {
background:rgba(26,74,114,0.6)}
+
-webkit-transform: translateY(-50px) scale(0.5);
 
+
-moz-transform: translateY(-50px) scale(0.5);
.info{-webkit-transition:all 0.35s ease-in-out;
+
-ms-transform: translateY(-50px) scale(0.5);
-moz-transition:all 0.35s ease-in-out;
+
-o-transform: translateY(-50px) scale(0.5);
transition:all 0.35s ease-in-out;
+
transform: translateY(-50px) scale(0.5)
-webkit-transform-style:preserve-3d;
+
}
-moz-transform-style:preserve-3d;
+
   
-ms-transform-style:preserve-3d;
+
-o-transform-style:preserve-3d;
+
transform-style:preserve-3d}
+
 
+
.info .info-back{visibility:hidden;
+
border-radius:50%;
+
width:100%;
+
height:100%;
+
background:#333;
+
background:rgba(0,0,0,0.6);
+
-webkit-transform:rotate3d(0, 1, 0, 180deg);
+
-moz-transform:rotate3d(0, 1, 0, 180deg);
+
-ms-transform:rotate3d(0, 1, 0, 180deg);
+
-o-transform:rotate3d(0, 1, 0, 180deg);
+
transform:rotate3d(0, 1, 0, 180deg);
+
-webkit-backface-visibility:hidden;
+
backface-visibility:hidden}
+
 
+
.info h3{color:#fff;
+
text-transform:uppercase;
+
position: relative;
+
letter-spacing:2px;
+
font-size:22px;
+
margin:20px 30px;
+
padding:0 0 0 0;
+
height:110px;
+
text-shadow:0 0 1px #fff,0 1px 2px rgba(0,0,0,0.3)}
+
 
+
.info p{color:#bbb;
+
padding: 0;
+
font-style:italic;
+
margin:20px 30px;
+
font-size:12px;
+
border-top:1px solid rgba(255,255,255,0.5)}
+
 
+
a:hover .info{-webkit-transform:rotate3d(0, 1, 0, -180deg);
+
-moz-transform:rotate3d(0, 1, 0, -180deg);
+
-ms-transform:rotate3d(0, 1, 0, -180deg);
+
-o-transform:rotate3d(0, 1, 0, -180deg);
+
transform:rotate3d(0, 1, 0, -180deg)}
+
 
+
a:hover .info .info-back{visibility:visible}
+
 
      
 
      
.ih-item {
+
    .ih-item {
 
position: relative;
 
position: relative;
 
-webkit-transition: all 0.35s ease-in-out;
 
-webkit-transition: all 0.35s ease-in-out;
Line 213: Line 209:
 
.ih-item.circle {
 
.ih-item.circle {
 
position: relative;
 
position: relative;
width: 220px;
+
width: 300px;
height: 220px;
+
height: 300px;
 
border-radius: 50%
 
border-radius: 50%
 
}
 
}
Line 220: Line 216:
 
.ih-item.circle .img {
 
.ih-item.circle .img {
 
position: relative;
 
position: relative;
width: 220px;
+
width: 300px;
height: 220px;
+
height: 300px;
 
border-radius: 50%
 
border-radius: 50%
 
}
 
}
Line 232: Line 228:
 
height: 100%;
 
height: 100%;
 
border-radius: 50%;
 
border-radius: 50%;
box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.3);
 
 
-webkit-transition: all 0.35s ease-in-out;
 
-webkit-transition: all 0.35s ease-in-out;
 
-moz-transition: all 0.35s ease-in-out;
 
-moz-transition: all 0.35s ease-in-out;
Line 255: Line 250:
  
  
.ih-item.circle.effect13.colored .info {
+
.ih-item.circle.effect10 .img {
background: #1a4a72;
+
z-index: 11;
background: rgba(26, 74, 114, 0.6)
+
-webkit-transform: scale(1);
 +
-moz-transform: scale(1);
 +
-ms-transform: scale(1);
 +
-o-transform: scale(1);
 +
transform: scale(1);
 +
-webkit-transition: all 0.35s ease-in-out;
 +
-moz-transition: all 0.35s ease-in-out;
 +
transition: all 0.35s ease-in-out
 
}
 
}
  
.ih-item.circle.effect13 .info {
+
.ih-item.circle.effect10.colored .info {
background: #333;
+
background: white;
background: rgba(0, 0, 0, 0.6);
+
}
 +
 
 +
.ih-item.circle.effect10 .info {
 +
background: white;
 
opacity: 0;
 
opacity: 0;
pointer-events: none;
+
-webkit-transform: scale(0);
 +
-moz-transform: scale(0);
 +
-ms-transform: scale(0);
 +
-o-transform: scale(0);
 +
transform: scale(0);
 
-webkit-transition: all 0.35s ease-in-out;
 
-webkit-transition: all 0.35s ease-in-out;
 
-moz-transition: all 0.35s ease-in-out;
 
-moz-transition: all 0.35s ease-in-out;
Line 270: Line 279:
 
}
 
}
  
.ih-item.circle.effect13 .info h3 {
+
.ih-item.circle.effect10 .info h3 {
visibility: hidden;
+
color: black;
color: #fff;
+
 
text-transform: uppercase;
 
text-transform: uppercase;
 
position: relative;
 
position: relative;
 
letter-spacing: 2px;
 
letter-spacing: 2px;
 
font-size: 22px;
 
font-size: 22px;
margin: 0 30px;
+
text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.3)
padding: 55px 0 0 0;
+
height: 110px;
+
text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.3);
+
-webkit-transition: all 0.35s ease-in-out;
+
-moz-transition: all 0.35s ease-in-out;
+
transition: all 0.35s ease-in-out
+
 
}
 
}
  
.ih-item.circle.effect13 .info p {
 
visibility: hidden;
 
color: #bbb;
 
padding: 10px 5px;
 
font-style: italic;
 
margin: 0 30px;
 
font-size: 12px;
 
border-top: 1px solid rgba(255, 255, 255, 0.5);
 
-webkit-transition: all 0.35s ease-in-out;
 
-moz-transition: all 0.35s ease-in-out;
 
transition: all 0.35s ease-in-out
 
}
 
  
.ih-item.circle.effect13 a:hover .info {
+
.ih-item.circle.effect10 a:hover .info {
opacity: 1
+
visibility: visible;
 +
opacity: 1;
 +
-webkit-transform: scale(1);
 +
-moz-transform: scale(1);
 +
-ms-transform: scale(1);
 +
-o-transform: scale(1);
 +
transform: scale(1)
 
}
 
}
  
.ih-item.circle.effect13 a:hover h3 {
+
.ih-item.circle.effect10.top_to_bottom .info h3 {
visibility: visible
+
margin: 0 30px;
 +
padding: 25px 0 0 0;
 +
height: 78px
 
}
 
}
  
.ih-item.circle.effect13 a:hover p {
+
.ih-item.circle.effect10.top_to_bottom .info p {
visibility: visible
+
margin: 0 30px;
 +
padding: 5px
 
}
 
}
  
.ih-item.circle.effect13.from_left_and_right .info h3 {
+
.ih-item.circle.effect10.top_to_bottom a:hover .img {
-webkit-transform: translateX(-100%);
+
-webkit-transform: translateY(50px) scale(0.5);
-moz-transform: translateX(-100%);
+
-moz-transform: translateY(50px) scale(0.5);
-ms-transform: translateX(-100%);
+
-ms-transform: translateY(50px) scale(0.5);
-o-transform: translateX(-100%);
+
-o-transform: translateY(50px) scale(0.5);
transform: translateX(-100%)
+
transform: translateY(50px) scale(0.5)
 
}
 
}
  
.ih-item.circle.effect13.from_left_and_right .info p {
+
.ih-item.circle.effect10.bottom_to_top .info h3 {
-webkit-transform: translateX(100%);
+
margin: 95px 30px 0;
-moz-transform: translateX(100%);
+
padding: 25px 0 0 0;
-ms-transform: translateX(100%);
+
height: 78px
-o-transform: translateX(100%);
+
transform: translateX(100%)
+
 
}
 
}
  
.ih-item.circle.effect13.from_left_and_right a:hover h3 {
+
.ih-item.circle.effect10.bottom_to_top .info p {
-webkit-transform: translateX(0);
+
margin: 0 30px;
-moz-transform: translateX(0);
+
padding: 5px
-ms-transform: translateX(0);
+
-o-transform: translateX(0);
+
transform: translateX(0)
+
 
}
 
}
  
.ih-item.circle.effect13.from_left_and_right a:hover p {
+
.ih-item.circle.effect10.bottom_to_top a:hover .img {
-webkit-transform: translateX(0);
+
-webkit-transform: translateY(-50px) scale(0.5);
-moz-transform: translateX(0);
+
-moz-transform: translateY(-50px) scale(0.5);
-ms-transform: translateX(0);
+
-ms-transform: translateY(-50px) scale(0.5);
-o-transform: translateX(0);
+
-o-transform: translateY(-50px) scale(0.5);
transform: translateX(0)
+
transform: translateY(-50px) scale(0.5)
 
}
 
}
 
.ih-item.circle.effect13.top_to_bottom .info h3 {
 
-webkit-transform: translateY(-100%);
 
-moz-transform: translateY(-100%);
 
-ms-transform: translateY(-100%);
 
-o-transform: translateY(-100%);
 
transform: translateY(-100%)
 
}
 
 
.ih-item.circle.effect13.top_to_bottom .info p {
 
-webkit-transform: translateY(-100%);
 
-moz-transform: translateY(-100%);
 
-ms-transform: translateY(-100%);
 
-o-transform: translateY(-100%);
 
transform: translateY(-100%)
 
}
 
 
.ih-item.circle.effect13.top_to_bottom a:hover h3 {
 
-webkit-transform: translateY(0);
 
-moz-transform: translateY(0);
 
-ms-transform: translateY(0);
 
-o-transform: translateY(0);
 
transform: translateY(0)
 
}
 
 
.ih-item.circle.effect13.top_to_bottom a:hover p {
 
-webkit-transform: translateY(0);
 
-moz-transform: translateY(0);
 
-ms-transform: translateY(0);
 
-o-transform: translateY(0);
 
transform: translateY(0)
 
}
 
 
.ih-item.circle.effect13.bottom_to_top .info h3 {
 
-webkit-transform: translateY(100%);
 
-moz-transform: translateY(100%);
 
-ms-transform: translateY(100%);
 
-o-transform: translateY(100%);
 
transform: translateY(100%)
 
}
 
 
.ih-item.circle.effect13.bottom_to_top .info p {
 
-webkit-transform: translateY(100%);
 
-moz-transform: translateY(100%);
 
-ms-transform: translateY(100%);
 
-o-transform: translateY(100%);
 
transform: translateY(100%)
 
}
 
 
.ih-item.circle.effect13.bottom_to_top a:hover h3 {
 
-webkit-transform: translateY(0);
 
-moz-transform: translateY(0);
 
-ms-transform: translateY(0);
 
-o-transform: translateY(0);
 
transform: translateY(0)
 
}
 
 
.ih-item.circle.effect13.bottom_to_top a:hover p {
 
-webkit-transform: translateY(0);
 
-moz-transform: translateY(0);
 
-ms-transform: translateY(0);
 
-o-transform: translateY(0);
 
transform: translateY(0)
 
}
 
 
  
 
</style>
 
</style>

Latest revision as of 21:51, 30 October 2017