abstrait:<html lang="en"> <head> <meta charset="UTF-8" /> &n
<html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" /> <title>二級(jí)導(dǎo)航</title> </head> <style> * { margin: 0; padding: 0; } ol, ul, li { list-style: none; box-sizing: border-box; } ol { width: 400px; margin: 0 auto; } li { width: 60px; font-size: 18px; font-family: Microsoft YaHei; text-align: center; cursor: pointer; } ol > li { float: left; height: 40px; line-height: 40px; margin: 0 10px; border-bottom: solid 1px gray; position: relative; } ul li { display: none; border-bottom: solid 0px rgba(138, 135, 135, 0.5); } ol > li:hover { border-bottom: solid 4px gray; } ol > li:hover ul li { display: block; } ul li:hover { border-bottom: solid 1px rgba(138, 135, 135, 0.5); } ol > li, ol > li:hover, ul li:hover { transition: linear 0.1s; } </style> <body> <ol> <li>首頁(yè)</li> <li> 床品 <ul> <li>居家</li> </ul> </li> <li> 箱包 <ul> <li>電器</li> </ul> </li> <li> 餐廚 <ul> <li>服飾</li> </ul> </li> <li> 洗護(hù) <ul> <li>嬰童</li> </ul> </li> </ol> </body> </html>
Professeur correcteur:天蓬老師Temps de correction:2019-02-18 14:19:33
Résumé du professeur:編程和我們平時(shí)工作是一樣的道理, 先做對(duì), 再求優(yōu).