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; border: 1px solid #ccc; display: flex; justify-content: space-around; } .outer-container div { width: 20%; } .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