<!DOCTYPE /> <html> <head> <style type="text/css"> ul { margin: 0; padding: 0; width: 150px; list-style: none; background-color: Orange; border: 1px solid red; } .lili:hover { padding: 5px; background-color: #FC756F; border-left-color: #51A9F3; border-right-color: #51A9F3; border-left-width: medium; border-right-width: medium; font-weight: bolder; color: White; } .lili { padding-top: 5px; height: 25px; border-top: solid 2px Orange; border-bottom: solid 2px Orange; color: black; background-color: White; } span { font-weight: bolder; color: black; } span:hover { color: White; font-size: large; } .lititle a { font-size: larger; font-weight: 900; color: White; } a { text-decoration: none; } .lititle:hover { cursor: pointer; } .ggtitle { border-top: 1px solid red; } </style> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript"> $(function () { $(".tztitle").click(function () { $(".tz").fadeToggle(1000); }); $(".ggtitle").click(function () { $(".gg").fadeToggle(1000); }); }); </script> </head> <body> <div> <ul class="ulul"> <li class="lititle tztitle"><a id="aaa">通知</a></li> <li class="lili tz"><a style="padding-left: 20px;" href=""><span>我的通知</span></a></li> <li class="lili tz"><a style="padding-left: 20px;" href=""><span>未读通知</span></a></li> <li class="lili tz"><a style="padding-left: 20px;" href=""><span>发布通知</span></a></li> <li class="lili tz"><a style="padding-left: 20px;" href=""><span>已发通知</span></a></li> <li class="lititle ggtitle"><a>公告</a></li> <li class="lili gg"><a style="padding-left: 20px;" href=""><span>我的公告</span></a></li> <li class="lili gg"><a style="padding-left: 20px;" href=""><span>未读公告</span></a></li> <li class="lili gg"><a style="padding-left: 20px;" href=""><span>发布公告</span></a></li> <li class="lili gg"><a style="padding-left: 20px;" href=""><span>已发公告</span></a></li> </ul> </div> </body> </html>
XHTMT|
HTML5|
CSS|
HTML DOM|
jQuery|
JSON|
AJAX|
LESS|
HTML|
Bootstrap|
Foundation|
AngularJS|
Ember.js|
TypeScript|
AngularJS2|
React|
jQuery UI|
jQuery EasyUI|
Node.js|
Highcharts|
Echarts|
Vue.js|
CoffeeScript|
Ext.js|
Meteor|
SASS|
Omi|
Markdown|
前端开发规范|
浏览器|
webpack|
JavaScript|
CSS3|
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....