css - Hide scrollbar when not necessary, but keep the screen width consistent -
on pretty web browsers, scroll bar displayed when needed. fine, problem when scroll bar displayed, width of screen shrinks. results in awkward shift of content on screen.
i want prevent behaviour width of screen consistent whether scroll bar displayed or not displayed. how can achieve this? don't want use javascript/jquery if possible.
try jquery "perfect scroll" plugin here is: http://noraesae.github.io/perfect-scrollbar/
Comments
Post a Comment