css - overflow:hidden not working with translation in positive direction -


i came across weird thing lately overflow: hidden;. set element, , want transform elements in translate(), when translates in negative direction hidden, if translate in positive direction, won't hidden. in desktop browsers it's not showing, can reach little bit of mouse work. , on mobile it's scrolls, worst.

here example showing it: http://cssizer.com/klhlpshw

so i've been working similar day , realized while had

html, body {overflow:hidden; }

...if add position:absolute or position:relative html , body, fixes issue.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -