GIF89a
<head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <link href="mystyle.css" type="text/css" rel="stylesheet"> <link href="assest/css/font-awesome.min.css" rel="stylesheet"> <link href="style.css" rel="stylesheet"> <!-- Latest compiled and minified CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- Latest compiled JavaScript --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"> <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> <title>Care</title> <style type="text/css"> .linksi a:hover{ background-color: #9fa19f; } .wallet{ border: 2px solid #ffffff; border-radius:5px; } .topic_link a:hover{ background-color: #c2bebe; } /*side menus*/ .sidebar { height: 100%; width: 0; position: fixed; z-index: 1; top: 0; left: 0; background-color: #212529; overflow-x: hidden; transition: 0.5s; padding-top: 60px; border: 1px solid none; border-radius: 4px; } .sidebar a { padding: 8px 8px 8px 32px; text-decoration: none; font-size: 25px; color: #818181; display: block; transition: 0.3s; } .sidebar a:hover { color: #f1f1f1; } .sidebar .closebtn { position: absolute; top: 0; right: 25px; font-size: 36px; margin-left: 50px; } .openbtn { font-size: 25px; font-weight: bold; cursor: pointer; background-color: #212529; color: white; border: none; } .openbtn:hover { background-color: #212529; border: 4px solid #2d3237; border-radius: 5px; } #main { transition: margin-left .5s; padding: 5px; } /* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) @media screen and (max-height: 450px) { .sidebar {padding-top: 15px;} .sidebar a {font-size: 18px;} }*/ </style> </head>