I have a liquid layout but I am unsure how to get the background to act in the same manner as the content. I have an image which is being created using the scroll-y css call. On full screen it looks great and creates a bordered white box where all the main content goes in and is directly in the middle of the page. However when I resize my window the background image stays in the same place where as all my content is moved to adjust for the window size. Is there anyway to get the background scroll-y image to move in the same liquid style as the rest of the contenyt? "I have an image which is being created using the scroll-y css call." I have a hard time in visualizing this phrase. Care to post some basic HTML+CSS example which demonstrates the exact problem?
以上就是background scroll-y with liquid layout的详细内容，更多请关注web前端其它相关文章！