HTML Compiler Online
Javascript Online Compiler
index.html
Change Theme
Compress code
Format code
Download Code
Clear Code
Copy Code!
RunĀ
ctrl+s or click
Output
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>CSS - align content flex-end</title> <style> .container { display: flex; align-content: flex-end; flex-wrap: wrap; width: 300px; height: 250px; background: #7E89B4; border: 2px solid #4B5681; } .container div { margin: 6px; color: white; font-size: 18px; font-family: sans-serif; padding: 10px 15px; background: #353C5A; } </style> </head> <body> <h2>align-content: flex-end</h2> <p>flex rows align to bottom of container together.</p> <div class="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> </body> </html>
RunĀ