前端样式修改

deploy
a74589669 2019-08-30 01:07:04 +08:00
parent 50b17aa5b3
commit 8a7370a6ca
2 changed files with 4 additions and 2 deletions

View File

@ -86,7 +86,7 @@
top: 0px;
display: inline-block;
background: #FFFDFF;
width: 660px;
width: 666px;
height: 860px;
float: top;
border: #0b93d5 solid 1px;
@ -98,7 +98,7 @@
<body>
<div id="top">
<div style="display: inline;float: right">书山有路勤为径,学海无涯苦做舟</div>
<div style="display: inline;float: right">这是一个纯手敲出来的博客</div>
<div id="sidebar">
<ul style="padding-left: 0px">
<li>文章</li>

View File

@ -2,6 +2,8 @@
function updateMenu(){
//初始化
$('.subMenu').hide();
$('.subMenu').show();
$('li.active>.subMenu').show();
//给菜单项添加事件
$('.navMenu a').click(function() {