css调节背景图片大小
Large, illustrative background images appear to be the trend in web design this year. Links in recent articles here have provided some examples: thesixtyone and youarelistening.to (from “Music to Code By”), along with sites like Flipboard.
大的说明性背景图片似乎是今年Web设计的趋势。 这里最近的文章中的链接提供了一些示例: thesixtyone和youarelistening.to (从“ 音乐到Code By ”)以及Flipboard之类的网站。
If you decide to go down this particular design route, there are a few points to keep in mind:
如果您决定采用这种特定的设计路线,请牢记以下几点:
- Full-screen, high quality images tend to be associated with large file sizes. You will likely need to balance this with other demands on your page. 全屏高质量图像往往与大文件大小相关联。 您可能需要平衡页面上的其他需求。
Do some research on average screen sizes before committing to a resolution for your background image. The best solution would be to study stats from an existing site by using analysis software such as Google Analytics; as of 2015, I would recommend an imag