Line 178: | Line 178: | ||
transform: translateY(-50px) scale(0.5) | transform: translateY(-50px) scale(0.5) | ||
} | } | ||
+ | |||
+ | |||
+ | .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, | ||
+ | .ih-item * { | ||
+ | -webkit-box-sizing: border-box; | ||
+ | -moz-box-sizing: border-box; | ||
+ | box-sizing: border-box | ||
+ | } | ||
+ | |||
+ | .ih-item a { | ||
+ | color: #333 | ||
+ | } | ||
+ | |||
+ | .ih-item a:hover { | ||
+ | text-decoration: none | ||
+ | } | ||
+ | |||
+ | .ih-item img { | ||
+ | width: 100%; | ||
+ | height: 100% | ||
+ | } | ||
+ | |||
+ | .ih-item.circle { | ||
+ | position: relative; | ||
+ | width: 220px; | ||
+ | height: 220px; | ||
+ | border-radius: 50% | ||
+ | } | ||
+ | |||
+ | .ih-item.circle .img { | ||
+ | position: relative; | ||
+ | width: 220px; | ||
+ | height: 220px; | ||
+ | border-radius: 50% | ||
+ | } | ||
+ | |||
+ | .ih-item.circle .img:before { | ||
+ | position: absolute; | ||
+ | display: block; | ||
+ | content: ''; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | 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; | ||
+ | -moz-transition: all 0.35s ease-in-out; | ||
+ | transition: all 0.35s ease-in-out | ||
+ | } | ||
+ | |||
+ | .ih-item.circle .img img { | ||
+ | border-radius: 50% | ||
+ | } | ||
+ | |||
+ | .ih-item.circle .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.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.effect10.colored .info { | ||
+ | background: #1a4a72 | ||
+ | } | ||
+ | |||
+ | .ih-item.circle.effect10 .info { | ||
+ | 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.effect10 .info h3 { | ||
+ | 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.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.effect10.top_to_bottom .info h3 { | ||
+ | margin: 0 30px; | ||
+ | padding: 25px 0 0 0; | ||
+ | height: 78px | ||
+ | } | ||
+ | |||
+ | .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.effect10.bottom_to_top .info h3 { | ||
+ | margin: 95px 30px 0; | ||
+ | padding: 25px 0 0 0; | ||
+ | height: 78px | ||
+ | } | ||
+ | |||
+ | .ih-item.circle.effect10.bottom_to_top .info p { | ||
+ | margin: 0 30px; | ||
+ | padding: 5px | ||
+ | } | ||
+ | |||
+ | .ih-item.circle.effect10.bottom_to_top 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) | ||
+ | } | ||
+ | |||
</style> | </style> | ||
</head> | </head> |
Revision as of 06:48, 24 October 2017