Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>Example</title> <style> .outer-container { font: 16px sans-serif; background: gold; color: white; height: 200px; border: 1px solid black; display: flex; } .box { padding: 10px; flex-grow: 1; } .larger { background: yellowgreen; flex-grow: 5; } </style> <div class="outer-container"> <div class="box">Box 1</div> <div class="box larger">Box 2 (larger)</div> <div class="box">Box 3</div> </div>