How to enable scrolling in <div> (scrollbar is not visible) | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How to enable scrolling in <div> (scrollbar is not visible)

I create hta application and disable main scrolling, i want to enable scrolling only the <div>(no scrollbar)

22nd Sep 2020, 3:07 PM
Артур Куртасанов
Артур Куртасанов - avatar
5 Réponses
+ 1
height: 100vh; overflow-y: hidden;
22nd Sep 2020, 3:17 PM
Gordon
Gordon - avatar
0
Thanks. Css is my life!!!
22nd Sep 2020, 3:20 PM
Артур Куртасанов
Артур Куртасанов - avatar
0
what is the difference between vh and px?
22nd Sep 2020, 3:22 PM
Артур Куртасанов
Артур Куртасанов - avatar
0
Px is absolute unit. Vw / vh is relative unit.
22nd Sep 2020, 5:47 PM
Divya Mohan
Divya Mohan - avatar