jQuery|jQuery - 侧栏导航点击滑入滑出效果 -

jQuery|jQuery - 侧栏导航点击滑入滑出效果 -
文章图片
20171203082234177.jpeg 点击按钮滑动显示侧边导航栏

Document - 锐客网li { list-style: none; } .side_open { position: fixed; top: 20%; right: 0; width: 218px; height: 574px; background-color: gray; } .side_btn { position: absolute; top: 20px; left: -30px; width: 30px; height: 140px; background-color: green; } .side_btn li { width: 30px; height: 140px; position: absolute; top: 0; left: 0; background-color: red; display: none; } .side_btn li:first-child { display: block; }
  • 收起 >
  • 展开 <

    推荐阅读