* { margin: 0; padding: 0; list-style: none; text-decoration: none; box-sizing: border-box; } #header { width: 100%; height: 75px; } #header .container { width: 1260px; height: 100%; margin: 0 auto; padding-top: 14px; } #header .container .logo { width: 149px; height: 45px; float: left; background: url('./images/soso.png') 219px 62px; } #header .container .nav { width: 352px; height: 75px; float: left; margin-top: -14px; margin-left: 30px; position: relative; } #header .container .nav ul { overflow: hidden; } #header .container .nav ul li { float: left; line-height: 75px; margin-left: 30px; } #header .container .nav ul li:first-child { margin-left: 0; } #header .container .nav ul li a { color: #000; font-size: 16px; } #header .container .nav ul li:first-child a { color: #31CCFF; } #header .container .nav ul li a:hover { color: #31CCFF; } #header .container .nav .tips { width: 37px; height: 14px; color: #999; font-size: 12px; text-align: center; line-height: 14px; background: #f5f7f9; border: 1px solid #ddd; border-radius: 8px; position: absolute; top: 14px; right: 8px; } #header .container .btn { width: 100px; height: 38px; text-align: center; line-height: 38px; color: #fff; background: #1ebcf0; float: right; border-radius: 3px; font-size: 16px; margin-right: 12px; margin-top: 4px; border: 1px solid #1ebcf0; } #header .container .btn:hover { background: #31CCFF; } #main .banner { width: 1920px; height: 482px; margin: 0 auto; position: relative; } #main .banner .search { width: 692px; height: 59px; background: rgba(0, 0, 0, .15); border-radius: 4px; padding-top: 4.5px; position: absolute; top: 214px; left: 616px; } #main .banner .search input { width: 588px; height: 50px; float: left; margin-left: 3px; outline: none; border-radius: 4px; border:1px solid #ccc; position: relative; background: rgba(255, 255, 255, .88);; } #main .banner .word { color: #999; font-size: 14px; position: absolute; top: 234px; left: 650px; z-index: 9; } #main .banner .search img { width: 97px; height: 50px; float: left; } #main .list { width: 1260px; height: 388px; margin: 60px auto 100px; } #main .list .listItem { width: 290px; height: 288px; float: left; margin-left: 33px; margin-top: 50px; } #main .list .listItem:first-child { margin-left: 0; } #main .list .listItem .pictures { width: 290px; height: 200px; position: relative; } #main .list .listItem img { width: 100%; height: 200px; } #main .list .listItem .btn { margin-top: 45px; } #main .list .listItem span:nth-child(2) { margin-left: 40px; } #main .list .listItem span { width: 122px; height: 36px; font-size: 14px; color: #666; display: inline-block; text-align: center; line-height: 36px; border:1px solid #dfdfdf; } #main .list .listItem span:hover { color: #31CCFF; } #main .list .listItem .pertty { width: 290px; height: 50px; color: #fff; font-size: 16px; text-align: center; line-height: 50px; background: rgba(0, 0, 0, .5); position: absolute; top: 150px; left: 0; display: none; } #main .list .listItem .pictures:hover .pertty{ display: block; }