In css, is there a rule(s) to make the x-scrollbar always hidden, but make the y-scrollbar show only if it goes past the page (i.e. only show if needed)?
Thanks
In css, is there a rule(s) to make the x-scrollbar always hidden, but make the y-scrollbar show only if it goes past the page (i.e. only show if needed)?
Thanks
this will apply to all element . so no probability of horizontal scrollbar
*{
overflow-x:hidden;
}
for the y use the element u want
body{
overflow-y:auto;
}
you can use any other div if u want