3
4 5Home > Article > Web Front-end > Imitation of Sina's partial static page display
1 2 3 4 56 7 8 9 10 11 1525 2616
新高尔夫百公里油耗为5L 奥迪Q4整体犀利 17新高尔夫百公里油耗为5L 奥迪Q4整体犀利 18新高尔夫百公里油耗为5L 奥迪Q4整体犀利 19新高尔夫百公里油耗为5L 奥迪Q4整体犀利 20新高尔夫百公里油耗为5L 奥迪Q4整体犀利 21新高尔夫百公里油耗为5L 奥迪Q4整体犀利 22新高尔夫百公里油耗为5L 奥迪Q4整体犀利 23 24
1 a{ 2 text-decoration:none; 3 } 4 #dnews{ 5 width:320px; 6 height:264px; 7 8 } 9 #dhead{ 10 width:320px; 11 height:30px; 12 padding-left:10px; 13 box-sizing:border-box; 14 line-height:30px; 15 background-color:rgba(76,255,0,0.1); 16 } 17 #dnews #dhead a:hover{ 18 color:blue; 19 } 20 #news{ 21 width:320px; 22 height:70px; 23 margin-top:10px; 24 } 25 #news #newspic{ 26 float:left; 27 width: 36%; 28 } 29 #news #newstitle{ 30 width: 64%; 31 /* padding-left: 10px; */ 32 font-size: 16px; 33 /* margin-left: 5px; */ 34 /* padding-left: 4px; */ 35 float: left; 36 } 37 #news #newstitle a:hover{ 38 color:blue; 39 } 40 #tabs{ 41 list-style-type:none; 42 color:black; 43 font-size:14px; 44 line-height:20px; 45 float:left; 46 margin: 0px -40px; 47 48 } 49 #tabs .tab a:hover{ 50 color:red; 51 } 52 .tab{ 53 background-image:url(../img/2.png); 54 background-repeat:no-repeat; 55 padding-left:20px; 56 background-position-y:center; 57 }
The above is the detailed content of Imitation of Sina's partial static page display. For more information, please follow other related articles on the PHP Chinese website!