jquery右侧菜单悬浮依次伸出效果代码
代码语言:html
所属分类:菜单导航
代码描述:jquery右侧菜单悬浮依次伸出效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.17.js"></script> <style> @charset "utf-8"; /* CSS Document */ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre, form,fieldset,input,textarea,p,blockquote,th,td,img { padding: 0; margin: 0; } fieldset,img { border: 0; } address,caption,cite,code,dfn,em,strong,th,var,i { font-weight: normal; font-style: normal; } ol,ul,li { list-style: none; } caption,th { text-align: left; } h1,h2,h3,h4,h5,h6 { font-weight: normal; font-size: 100%; } q:before,q:after { content: ''; } abbr,acronym { border: 0; } /*-- All --*/ body { color: #333; font: 12px/20px Arial,"Microsoft YaHei","瀹嬩綋",sans-serif; text-align: center; background: #DCDCDC; } a { color: #333; text-decoration: none; outline: none; } a:hover { color: #f00; text-decoration: underline; } table { border-collapse: collapse; border-spacing: 0; empty-cells: show; } table td,table th { border: #ddd solid 1px; padding: 5px 10px; } table th { background: #176D97; color: #fff; } table .new td { color: #f60; font-weight: bold; } .rightNav { position: fixed; width: 140px; right: 0; top: 100px; _position: absolute; text-align: left; cursor: pointer; background-image: url(about:blank); } .rightNav a { display: block; position: relative; height: 30px; line-height: 30px; margin-bottom: 2px; background: #fff; padding-right: 10px; width: 130px; overflow: hidden; cursor: pointer; right: -110px; } .rightNav a:hover { text-decoration: none; color: #1974A1; } .rightNav a:hover em { background: #00b700 } .rightNav a em { display: block; float: left; width: 30px; background: #1974A1; c.........完整代码请登录后点击上方下载按钮下载查看
网友评论0