mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:02:44 +00:00 
			
		
		
		
	 2fb0cede9a
			
		
	
	
		2fb0cede9a
		
	
	
	
	
		
			
			Visual improvement on (now there is a gap between grid items): https://twinings.co.uk/collections/earl-grey-tea
		
			
				
	
	
		
			16 lines
		
	
	
		
			No EOL
		
	
	
		
			326 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			No EOL
		
	
	
		
			326 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html><style type="text/css">
 | |
| * {
 | |
|     border: 1px solid black;
 | |
| }
 | |
| 
 | |
| .grid {
 | |
|     grid-template-columns: 1fr 1fr;
 | |
|     display: grid;
 | |
| }
 | |
| 
 | |
| .item {
 | |
|     padding: 0 100px;
 | |
|     width: 100%;
 | |
|     box-sizing: border-box;
 | |
| }
 | |
| </style><div class="grid"><div class="item"><div>One</div></div><div class="item"><div>Two</div></div></div> |