.menu { position: fixed; z-index: 50; left: 0; top: 80px; height: calc(100% - 80px); width: 256px; background-color: white; box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); } .menu h4 { padding: 10px; } .nav-list li { padding: 5px 20px; } .more-item { padding: 5px 20px; color: #666; font-size: 14px; cursor: pointer; } .friend-item { cursor: pointer; } .menu button { background: none; color: #333; width: 100%; height: 100%; padding: 0; text-align: left; }