Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>Example</title> <style> .outer-container { height: 200px; font: 100 24px/100px sans-serif; text-align: center; color: white; display: flex; flex-flow: column wrap; } .outer-container div { height: 50%; width: 50%; } .red { background: orangered; } .green { background: yellowgreen; } .blue { background: steelblue; } </style> <div class="outer-container"> <div class="red">1</div> <div class="green">2</div> <div class="blue">3</div> </div>
Preview