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

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;
.ih-item.circle.effect13 .info h3{
+
  transition: all 0.35s ease-in-out;
visibility:hidden;
+
color:#fff;
+
text-transform:uppercase;
+
position: relative;
+
letter-spacing:2px;
+
font-size:22px;
+
margin:0 30px;
+
padding: 0 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:0px 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{
+
opacity:1}
+
 
+
.ih-item.circle.effect13 a:hover h3{
+
visibility:visible}
+
 
+
.ih-item.circle.effect13 a:hover p{
+
visibility:visible}
+
 
+
.ih-item.circle.effect13.from_left_and_right .info h3{
+
-webkit-transform:translateX(-100%);
+
-moz-transform:translateX(-100%);
+
-ms-transform:translateX(-100%);
+
-o-transform:translateX(-100%);
+
transform:translateX(-100%)}
+
 
+
.ih-item.circle.effect13.from_left_and_right .info p{
+
-webkit-transform:translateX(100%);
+
-moz-transform:translateX(100%);
+
-ms-transform:translateX(100%);
+
-o-transform:translateX(100%);
+
transform:translateX(100%)}
+
 
+
.ih-item.circle.effect13.from_left_and_right a:hover h3{
+
-webkit-transform:translateX(0);
+
-moz-transform:translateX(0);
+
-ms-transform:translateX(0);
+
-o-transform:translateX(0);
+
transform:translateX(0)}
+
 
+
.ih-item.circle.effect13.from_left_and_right a:hover p{
+
-webkit-transform:translateX(0);
+
-moz-transform:translateX(0);
+
-ms-transform:translateX(0);
+
-o-transform:translateX(0);
+
transform:translateX(0)}
+
 
+
.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)}
+
 
+
<!--info-back-->
+
 
+
.info-back{background:#1a4a72;
+
background:rgba(26,74,114,0.6)}
+
 
+
.info{-webkit-transition:all 0.35s ease-in-out;
+
-moz-transition:all 0.35s ease-in-out;
+
transition:all 0.35s ease-in-out;
+
-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 {
+
position: relative;
+
-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 {
.ih-item,
+
  background: #1a4a72;
.ih-item * {
+
-webkit-box-sizing: border-box;
+
-moz-box-sizing: border-box;
+
box-sizing: border-box
+
 
}
 
}
 
+
.ih-item.circle.effect10 .info {
.ih-item a {
+
  background: #333333;
color: #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.effect10 .info h3 {
.ih-item a:hover {
+
  color: #fff;
text-decoration: none
+
  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 {
.ih-item img {
+
  color: #bbb;
width: 100%;
+
  font-style: italic;
height: 100%
+
  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 {
+
.ih-item.circle.effect10.top_to_bottom .info h3 {
position: relative;
+
  margin: 0 30px;
width: 400px;
+
  padding: 25px 0 0 0;
height: 400px;
+
  height: 78px;
border-radius: 50%
+
}
 +
.ih-item.circle.effect10.top_to_bottom .info p {
 +
  margin: 0 30px;
 +
  padding: 5px;
 +
}
 +
.ih-item.circle.effect10.top_to_bottom a:hover .img {
 +
  -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 .img {
+
.ih-item.circle.effect10.bottom_to_top .info h3 {
position: relative;
+
  margin: 95px 30px 0;
width: 400px;
+
  padding: 25px 0 0 0;
height: 400px;
+
  height: 78px;
border-radius: 50%
+
 
}
 
}
 
+
.ih-item.circle.effect10.bottom_to_top .info p {
.ih-item.circle .img:before {
+
  margin: 0 30px;
position: absolute;
+
  padding: 5px;
display: block;
+
}
content: '';
+
.ih-item.circle.effect10.bottom_to_top a:hover .img {
width: 100%;
+
  -webkit-transform: translateY(-50px) scale(0.5);
height: 100%;
+
  -moz-transform: translateY(-50px) scale(0.5);
border-radius: 50%;
+
  -ms-transform: translateY(-50px) scale(0.5);
box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.3);
+
  -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;
 
-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 238: Line 98:
 
}
 
}
  
.ih-item.circle .img img {
+
.ih-item.circle.effect10.colored .info {
border-radius: 50%
+
background: #1a4a72
 
}
 
}
  
.ih-item.circle .info {
+
.ih-item.circle.effect10 .info {
position: absolute;
+
top: 0;
+
bottom: 0;
+
left: 0;
+
right: 0;
+
text-align: center;
+
border-radius: 50%;
+
-webkit-backface-visibility: hidden;
+
backface-visibility: hidden
+
}
+
 
+
 
+
.ih-item.circle.effect13.colored .info {
+
background: #1a4a72;
+
background: rgba(26, 74, 114, 0.6)
+
}
+
 
+
.ih-item.circle.effect13 .info {
+
 
background: #333;
 
background: #333;
background: rgba(0, 0, 0, 0.6);
 
 
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 115:
 
}
 
}
  
.ih-item.circle.effect13 .info h3 {
+
.ih-item.circle.effect10 .info h3 {
visibility: hidden;
+
 
color: #fff;
 
color: #fff;
 
text-transform: uppercase;
 
text-transform: uppercase;
Line 277: Line 121:
 
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 {
+
.ih-item.circle.effect10 .info p {
visibility: hidden;
+
 
color: #bbb;
 
color: #bbb;
padding: 10px 5px;
 
 
font-style: italic;
 
font-style: italic;
margin: 0 30px;
 
 
font-size: 12px;
 
font-size: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.5);
+
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>
 
</head>
 
</head>

Revision as of 06:45, 24 October 2017