An alternative to -webkit-transform: transformY?
问题 I'm creating a chrome extension that displays an iframe on the top of specific pages. This iframe is fixed and placed before opening body tag. To reserve a place for this iframe, I shift down the body including fixed element using CSS : -webkit-transform: translateY(40px); It seems to work fine with many websites, but on some other website such as facebook it causes a problem. a scroll bar is shown on the right side. Is there an alternative that I might try to avoid this problem . Any help