圖片很寬的時候,需要保留中間部分,左右不需要顯示完整,寫法如下:
background-image: url(https://phyimgs.007vin.com/ugc/1000001/982925039a76f22c4efcd76221cfeaff.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
圖片很寬的時候,需要保留中間部分,左右不需要顯示完整,寫法如下:
background-image: url(https://phyimgs.007vin.com/ugc/1000001/982925039a76f22c4efcd76221cfeaff.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Java word通過html設置樣式(Spire Docx) <dependencies> <!-- Apache POI dependency for Word --> <dependency>