Update, added vw, vh example to values part index.md (#18964)
* Update index.md vw, vh values added * update: correctly added vw and vh units
This commit is contained in:
		
				
					committed by
					
						
						Quincy Larson
					
				
			
			
				
	
			
			
			
						parent
						
							f78d4eedfc
						
					
				
				
					commit
					88f8389cec
				
			@@ -11,9 +11,10 @@ The background-size property specifies the size of the background images. You ca
 | 
				
			|||||||
.contain {background-size: contain;}
 | 
					.contain {background-size: contain;}
 | 
				
			||||||
.initial {background-size: initial;}
 | 
					.initial {background-size: initial;}
 | 
				
			||||||
.inherit {background-size: inherit;}
 | 
					.inherit {background-size: inherit;}
 | 
				
			||||||
 /* Percentage and pixel can also be used */
 | 
					 /* Percentage, pixel, and viewport units can also be used */
 | 
				
			||||||
.pixel {background-size: 50px 50px;}
 | 
					.pixel {background-size: 50px 50px;}
 | 
				
			||||||
.percentage {background-size: 50% 50%;}
 | 
					.percentage {background-size: 50% 50%;}
 | 
				
			||||||
 | 
					.view {background-size: 50vw 50vh;}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
To set this property on multiple background images separate values by comma:
 | 
					To set this property on multiple background images separate values by comma:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user