﻿@charset "utf-8";
/*
** 功能名称：响应式界面布局
** 修改时间：2017年12月19日15:29:21
*/

/* 新闻列表16 */

.container{
    width: 930px;
}
.container>ul{
    overflow: hidden;
}
.container>ul>li{
    width: 294px;
    float: left;
    margin-right: 24px;
    margin-bottom: 24px;
}
.container>ul>li:nth-child(3n+3){
    margin-right: 0;
}
.container>ul>li .img{
    height: 169px;
    border: 1px solid #ededef;
    border-bottom: none;
    overflow: hidden;
}
.container>ul>li .img>div{
    height: 169px;
    background-image: url(../images/cp_1.png);
    background-color: #ededef;
    background-position: center center;
    background-size: cover;
}
.container>ul>li:hover .img>div{
    animation: scaleToFade 1s;
}
@keyframes scaleToFade {
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.2);
    }
    100%{
        transform: scale(1);
    }
}
.container>ul>li .title{
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: #003580;
    color: #fff;
    font-size: 14px;
    padding:0 10px;
}
.container>ul>li .title>div{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
}
.container>ul>li:hover .title>div{
    background: rgba(0,0,0,0.3);
}
/* end */

