Permalink
Browse files

style: clickable toTop button 可点击的跳转按钮

Make all area of the button become clickable via <span id="toTop”>。
使所有区域都能响应点击,之前只有文字区域能响应。
  • Loading branch information...
MOxFIVE committed Aug 28, 2015
1 parent 5316be0 commit 4221fd71c98a7975d510dcfab0384b9bd78f4aeb
Showing with 4 additions and 4 deletions.
  1. +4 −4 themes/Yilia/layout/_partial/article.ejs
@@ -49,8 +49,8 @@
}
</script>
<div id="toTop">
<a href="#top" style="color:white"></a>
<div>
<a href="#top" style="color:white"><span id="toTop"></span></a>
</div>
<!-- to top via JavaScript -->
<!--<script>
@@ -61,8 +61,8 @@
}
}
</script>-->
<div id="toBottom">
<a href="#footer" style="color:white"></a>
<div>
<a href="#footer" style="color:white"><span id="toBottom"></span></a>
</div>
<!-- to bottom via JavaScript -->
<!--<div id="toBottom">

0 comments on commit 4221fd7

Please sign in to comment.