/home/vianto5/heredit.mx/sliders/descripcion
NameSizeModeActions
index.html14130644editdlrm
script.js21230644editdlrm
style.css14550644editdlrm
Edit: /home/vianto5/heredit.mx/sliders/descripcion/style.css (1455B)
* { margin: 0; padding: 0; box-sizing: border-box; } body { display: flex; justify-content: center; min-height: 100vh; overflow: hidden; } .container { max-width: 100%; width: 100%; } .slider-wrapper { position: relative; } .slider-wrapper .description { display: grid; background: #B78B1E; gap: 20px; overflow-x: auto; scrollbar-width: none; grid-template-columns: repeat(3, 1fr); } .slider-wrapper .description .card { width: 390px; color: #fff; font-family: "Gotham", Sans-serif; font-weight: 500; font-size: 17px; line-height: 17px; text-align: center; border-radius: 12px; padding: 5%; } .container .slider-scrollbar { height: 24px; width: 70%; display: flex; align-items: center; margin: 0 15%; } .slider-scrollbar .scrollbar-track { height: 4px; width: 100%; background: #d9d9d9; position: relative; border-radius: 4px; } .slider-scrollbar:hover .scrollbar-track { height: 5px; } .slider-scrollbar .scrollbar-thumb { position: absolute; height: 100%; width: 25%; background: #B78B1E; border-radius: 4px; cursor: grab; } .slider-scrollbar .scrollbar-thumb:active { cursor: grabbing; height: 5px; top: -1px; } .slider-scrollbar .scrollbar-thumb::after { content: ""; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }