Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> .flex-container { display: flex; flex-wrap: wrap; align-content: space-between /* Verwenden Sie einen anderen Wert, um das Ergebnis zu sehen. */; min-height: 300px; background-color: #1c87c9; } .flex-container > div { width: 120px; padding: 5px 0; margin: 8px; background-color: lightgrey; text-align: center; font-size: 35px; } </style> </head> <body> <div class="flex-container"> <div>1</div> <div>2</div> <div>3</div> <div>4</div> <div>5</div> <div>6</div> <div>7</div> <div>8</div> <div>9</div> <div>10</div> <div>11</div> <div>12</div> </div> </body> </html>