ihover.css 4.51 KB
.detectype h2, .service h2{
  text-align: center;
  font-weight: 400;
  color: #433e51;
  font-size: 45px;
  padding: 0;
  margin: 50px 0;
}
.detectype .detectrange{
  float: left;
  min-height: 1px;
  position: relative;
  cursor: pointer;
  width: 22.75%;
  margin-right: 3%;
  overflow: hidden;
}
.detectype .detectrange.mb{
  margin-bottom: 50px;
}
.detectype .detectrange .mask{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.detectype .detectrange.l{
  margin-right: 0;
}
.detectype .detectrange .detecticon{
  height: 150px;
}
.detectype .detectrange .detectfood{
  background: url(/images/jcrange/nongchanpin.jpg);
}
.detectype .detectrange .detectmeat{
  background: url(/images/jcrange/rouzhipin.jpg);
}
.detectype .detectrange .detectfire{
  background: url(/images/jcrange/xiaofangjiance.jpg);
}
.detectype .detectrange .detectmilieu{
  background: url(/images/jcrange/huanjing.jpg);
}
.detectype .detectrange .detectfeiliao{
  background: url(/images/jcrange/fljc.jpg);
}
.detectype .detectrange .detectsiliao{
  background: url(/images/jcrange/sljc.jpg);
}
.detectype .detectrange .detectshuichan{
  background: url(/images/jcrange/scjc.jpg);
}
.detectype .detectrange .detectshipin{
  background: url(/images/jcrange/spjc.jpg?v=2);
}
.detectype .detectrange .detecttext{
  padding: 15px 10px;
  height: 80px;
  border: 1px solid #ccc;
  border-top: 0;
}
.detectype .detectrange .detecttext h5{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 400;
  color: #433e51;
}
.detectype .detectrange .detecttext p{
  line-height: 1.6em;
  font-size: 14px;
  margin: 0 0 10px;
  color: #7b7b7b;
}
.detectype .detectrange .mask {
  background: #1a4a72;
  background: rgba(26, 74, 114, 0.6);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.35s ease-in;
  -moz-transition: all 0.35s ease-in;
  transition: all 0.35s ease-in;
}
.detectype .detectrange .mask a{
  color: #fff;
}
.detectype .detectrange .mask h3 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  font-size: 17px;
  padding: 10px;
  background: #111111;
  background: rgba(12, 34, 52, 0.6);
  margin: 30px 0 0 0;
  -webkit-transition: all 0.35s ease-in;
  -moz-transition: all 0.35s ease-in;
  transition: all 0.35s ease-in;
}
.detectype .detectrange .mask p {
  font-size: 12px;
  position: relative;
  color: #bbb;
  padding: 20px 20px 20px;
  text-align: center;
  -webkit-transition: all 0.35s ease-in;
  -moz-transition: all 0.35s ease-in;
  transition: all 0.35s ease-in;
}
.detectype .detectrange:hover .mask {
  visibility: visible;
  opacity: 1;
  -webkit-transition-delay: 0.2s;
  -moz-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.detectype .detectrange:hover .mask h3 {
  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
.detectype .detectrange:hover .mask p {
  -webkit-transition-delay: 0.25s;
  -moz-transition-delay: 0.25s;
  transition-delay: 0.25s;
}

.detectype .detectrange .mask {
  -webkit-transform: translate(-460px, -100px) rotate(-180deg);
  -moz-transform: translate(-460px, -100px) rotate(-180deg);
  -ms-transform: translate(-460px, -100px) rotate(-180deg);
  -o-transform: translate(-460px, -100px) rotate(-180deg);
  transform: translate(-460px, -100px) rotate(-180deg);
}
.detectype .detectrange .mask h3 {
  -webkit-transform: translateY(-100px);
  -moz-transform: translateY(-100px);
  -ms-transform: translateY(-100px);
  -o-transform: translateY(-100px);
  transform: translateY(-100px);
}
.detectype .detectrange .mask p {
  -webkit-transform: translateX(-300px) rotate(-90deg);
  -moz-transform: translateX(-300px) rotate(-90deg);
  -ms-transform: translateX(-300px) rotate(-90deg);
  -o-transform: translateX(-300px) rotate(-90deg);
  transform: translateX(-300px) rotate(-90deg);
}
.detectype .detectrange:hover .mask {
  -webkit-transform: translate(0px, 0px);
  -moz-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  -o-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}
.detectype .detectrange:hover .mask h3 {
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  transform: translateY(0px);
}
.detectype .detectrange:hover .mask p {
  -webkit-transform: translateX(0px) rotate(0deg);
  -moz-transform: translateX(0px) rotate(0deg);
  -ms-transform: translateX(0px) rotate(0deg);
  -o-transform: translateX(0px) rotate(0deg);
  transform: translateX(0px) rotate(0deg);
}