ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
``` <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body { font-family: "Lato", sans-serif; } .sidenav { width: 200px; height: 25px; position: fixed; z-index: 1; top: 350px; right: -80px; background: #eee; overflow-x: hidden; padding: 8px 0; transform: rotate(-90deg); -ms-transform: rotate(-90deg); -webkit-transform: rotate(-90deg); margin: 0; } .sidenav a { padding: 2px 25px 0; text-decoration: none; font-size: 20px; color: #2196F3; display: block; } .sidenav a:hover { color: #064579; } .main { margin-left: 140px; /* Same width as the sidebar + left position in px */ font-size: 28px; /* Increased text to enable scrolling */ padding: 0px 10px; } @media screen and (max-height: 450px) { .sidenav {padding-top: 15px;} .sidenav a {font-size: 18px;} } .open_menu { height: 100%; width: 0; position: fixed; z-index: 1; top: 260px; right: 0; background-color: #111; overflow-x: hidden; transition: 0.5s; padding-top: 60px; } .open_menu a { padding: 8px 8px 8px 32px; text-decoration: none; font-size: 25px; color: #818181; display: block; transition: 0.3s; } .open_menu a:hover { color: #f1f1f1; } .open_menu .open_closebtn { position: absolute; top: 0; right: 25px; font-size: 36px; margin-left: 50px; } @media screen and (max-height: 450px) { .open_menu {padding-top: 15px;} .open_menu a {font-size: 18px;} } </style> </head> <body> <div class="fix_position"> <div class="sidenav"> <a href="#about"><span style="cursor:pointer" onclick="openNav()">Customisation</span></a> </div> <div id="myopen_menu" class="open_menu"> <a href="javascript:void(0)" class="open_closebtn" onclick="closeNav()">&times;</a> <a href="#">About</a> <a href="#">Services</a> <a href="#">Clients</a> <a href="#">Contact</a> </div> </div> <script src="../../js/jquery-3.4.1.min.js"></script> <script> function openNav() { document.getElementById("myopen_menu").style.width = "250px"; } function closeNav() { document.getElementById("myopen_menu").style.width = "0"; } </script> <div class="main"> <h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1><h1>123</h1> </div> </body> </html> ```