mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:32:44 +00:00 
			
		
		
		
	 8200d1f68b
			
		
	
	
		8200d1f68b
		
	
	
	
	
		
			
			This change moves the initial offset for justify-content: center to the opposite side if the flex layout is in the reverse direction.
		
			
				
	
	
		
			11 lines
		
	
	
		
			No EOL
		
	
	
		
			366 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			No EOL
		
	
	
		
			366 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype html><style>
 | |
|     .flex {
 | |
|         display: flex;
 | |
|         flex-direction: row-reverse;
 | |
|         justify-content: center;
 | |
| 
 | |
|     }
 | |
|     .flex > div {
 | |
|         width: 50px;
 | |
|         height: 50px;
 | |
|     }</style><body><div class="flex"><div style="background-color: red;">1</div><div style="background-color: blue;">2</div><div style="background-color: yellow;">3</div> |