JQuery drop-down links: Beautification effect code sharing; jquery links
This article mainly introduces the beautification Effect of jQuery drop-down links and provides useful code. We recommend this article to you. If you need it, you can refer to it.
The following example describes the beautification effect of the jQuery drop-down link. The code of the jQuery drop-down link beautification is a special drop-down beautification Effect Based on jQuery. we will share it with you for your reference. The details are as follows:
Run:
TIPS: If the browser cannot run properly, you can try to switch the browsing mode.
The code for beautifying the jQuery drop-down link is as follows:
<Head> <meta http-equiv = "Content-Type" content = "text/html; charset = gb2312 "/> <title> jQuery drop-down link beautification Code </title> <style> BODY {FONT: 12px" "," ", Arial, Tahoma, helvetica, STHeiti, "Hiragino Sans GB"; COLOR: #363636} DIV {PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px} SELECT {PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px} SELECT {BOX-SIZING: content-box; BORDER-BOTTOM: # ddd 1px solid; BORDER-LEFT: # ddd 1px solid; PADDING-BOTTOM: 1px; LINE-HEIGHT: 20px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: # ddd 1px solid; BORDER-RIGHT: # ddd 1px solid; PADDING-TOP: 1px;-webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-shadow: 0 1px 2px rgba (0, 0, 0, 0.1);-moz-box-shadow: 0 1px 2px rgba (0, 0, 0, 0.1);-o-box-shadow: 0 1px 2px rgba (0, 0, 0, 0.1 ); -webkit-box-shadow: 0 1px 2px rgba (0, 0, 0, 0.1)} OPTION {PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px }. footer-select {POSITION: absolute; RIGHT: 620px; TOP: 19px }. footer_sel {BORDER-BOTTOM: # d6d6d6 1px solid; BORDER-LEFT: # d6d6d6 1px solid; LINE-HEIGHT: 22px; WIDTH: paipx; HEIGHT: 22px; COLOR: # afafaf; BORDER-TOP: # d6d6d6 1px solid; BORDER-RIGHT: # d6d6d6 1px solid} </style> <script type = text/javascript src =" http://demo.jb51.net/js/2015/jQuery-xlyqlj/js/jquery-1.4.1.min.js "> </Script>