css div 按鈕

來源:互聯網
上載者:User
提示:您可以先修改部分代碼再運行

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>用CSS設計的導航執行個體</title><style>#menu{ font-family: Arial, Helvetica, sans-serif; font-size: 12px; border:1px solid #000000; width:200px; background-color: #FF9D1F; text-align:center;}#menub{ margin:20px;}.w1{ margin:3px; border-top:1px solid #FFC881; border-right:1px solid #EE8600; border-bottom:1px solid #EE8600; border-left:1px solid #FFC881;}.w2{ border-top:1px solid #EE8600; border-right:1px solid #FFAD42; border-bottom:1px solid #FFAD42; border-left:1px solid #EE8600;}.w3{ border-top:2px solid #D07500; border-right:2px solid #FFB85D; border-bottom:2px solid #FFB85D; border-left:2px solid #D07500;}.w4{ border:1px solid #FC8E00;}.w5{ border:1px solid #000000;}.w7{ border-top:1px solid #FFDCAF; border-right:1px solid #C87000; border-bottom:1px solid #C87000; border-left:1px solid #FFDCAF;}.w8{ border-top:1px solid #FFD7A4; border-right:1px solid #FF9204; border-bottom:1px solid #FF9204; border-left:1px solid #FFD7A4;}.w9{ background:#FFC881; border-top:1px solid #FECE8F; border-right:1px solid #FFAE44; border-bottom:1px solid #FFAE44; border-left:1px solid #FECE8F; }#menu a{ color: #884C00; text-decoration: none; font-weight: bold;}#menu a:hover{background:#FFB85D; color:#000000;}#menu a:hover .w7 { border-top:1px solid #C87000; border-right:1px solid #FFDCAF; border-bottom:1px solid #FFDCAF; border-left:1px solid #C87000;}#menu a:hover .w8 { border-top:1px solid #FF9204; border-right:1px solid #FFD6A1; border-bottom:1px solid #FFD6A1; border-left:1px solid #FF9204;}#menu a:hover .w9 { background:#FFB85D; border-top:1px solid #FFAE44; border-right:1px solid #FECF91; border-bottom:1px solid #FECF91; border-left:1px solid #FFAE44; }</style></head><body><div id="menu"> <div id="menub"> <div class="w1"> <div class="w2"> <div class="w3"> <div class="w4"> <div class="w5"> <div class="w7"> <div class="w8"> <div class="w9"> www.websjy.com</div> </div> </div> </div> </div> </div> </div> </div> <div class="w1"> <div class="w2"> <div class="w3"> <div class="w4"> <div class="w5"> <div class="w7"> <div class="w8"> <div class="w9"> www.websjy.com</div> </div> </div> </div> </div> </div> </div> </div> <div class="w1"> <div class="w2"> <div class="w3"> <div class="w4"> <div class="w5"> <div class="w7"> <div class="w8"> <div class="w9"> http://www.111cn.net </div> </div> </div> </div> </div> </div> </div> </div> <div class="w1"> <div class="w2"> <div class="w3"> <div class="w4"> <div class="w5"> <div class="w7"> <div class="w8"> <div class="w9"> bbs.happy175.com </div> </div> </div> </div> </div> </div> </div> </div> <div class="w1"> <div class="w2"> <div class="w3"> <div class="w4"> <div class="w5"> <div class="w7"> <div class="w8"> <div class="w9"> blog.happy175.com</div> </div> </div> </div> </div> </div> </div> </div> </div></div></body></html>
提示:您可以先修改部分代碼再運行
相關文章

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。