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 - flex flow</title> <style> .flow1 { flex-flow: column wrap-reverse; height: 400px; } .flow2 { flex-flow: row wrap; } .container { display: flex; width: 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>Container items no wraping <code>flex-warp:nowrap</code> property.</h2> <p>The "flow1" defines item to flow in column and to reverse wrap.</p> <div class="container flow1"> <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> <p>The "flow2" defines item to flow in row and to wrap items.</p> <div class="container flow2"> <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> </body> </html>
RunĀ