[CSS3] The different of Background-size between 'cover' and 'contain'
2018-02-22 21:01
399 查看
'cover': The smaller axies of image (x axies) should match smaller axies (x axies) of container. So some part of image might be cut off.
![](https://oscdn.geek-share.com/Uploads/Images/Content/202004/13/7a8b58e1b2b5f0e69174b6804f7ff9ea.png)
'container': The large axies of image (x or y) should match larger axies (x or y) of contaner. So that the whole image should be visible.
![](https://oscdn.geek-share.com/Uploads/Images/Content/202004/13/7a8b58e1b2b5f0e69174b6804f7ff9ea.png)
'container': The large axies of image (x or y) should match larger axies (x or y) of contaner. So that the whole image should be visible.
![](https://oscdn.geek-share.com/Uploads/Images/Content/202004/13/29bad2af2625832e2c8cb75e99382fd5.png)
相关文章推荐
- How To Change the Background Color of a Tab Control
- The used SELECT statements have a different number of columns 错误解决
- What are the advantages of different classification algorithms?
- ERROR 1222 (21000): The used SELECT statements have a different number of columns
- The two different ending of the movie butterfly effect----电影蝴蝶效应的两个不同结局
- The Background of Background
- The Solution of "The calling thread cannot access this object beacuse a different thread owns it."
- The count of VLFs for different size of transaction log
- how to change the background of actionbar.tab
- The Different Types of SAP Tables
- The Different Format of Date in English
- how to change the background color of actionbar
- mysql The used SELECT statements have a different number of columns
- UNION关键字报错:ERROR 1222 (21000): The used SELECT statements have a different number of columns
- Change the Foreground and Background Colour of Staic Text Control in VC++
- What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memor
- why is the output of `du` often so different from
- What are the different versions of JSF and when was it released?
- qt 之 How to Change the Background Color of QWidget
- make sure the content of your adapter is not modified from a background thread . but only from the