Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>Example</title> <style> .outer-container { height: 200px; font-family: sans-serif; color: white; border: 1px solid #ccc; display: flex; flex-wrap: wrap; align-content: space-between; } .outer-container div { width: 60%; padding: 2%; } .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