<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flexbox Two Columns</title>
<style>
.container {
display: flex;
justify-content: flex-start; /* 靠左对齐 */
}
.column {
flex: 1; /* 或者指定具体的宽度 */
}
</style>
</head>
<body>
<div class="container">
<div class="column">Column 1</div>
<div class="column">Column 2</div>
</div>
</body>
</html>
去创作