.container { overflow-y: auto; display: flex; flex-direction: column; flex-grow: 2; } .container::-webkit-scrollbar { width:auto; } /*track*/ .container::-webkit-scrollbar-track { background:rgb(0, 0, 0); } /*thumb*/ .container::-webkit-scrollbar-thumb { background:rgb(24, 138, 24); }