HTML CSS examples for CSS Property:flex-flow
CSS horizontal scroller
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #deck {<!--from ww w . j a v a 2 s .c o m--> height:205px; width:251px; overflow:auto; background-color:Chartreuse; flex-flow:column wrap; display:flex; align-content:left; } .card { background-color:yellow; margin:2px; width:100px; height:100px; } </style> </head> <body> <div id="deck"> <div class="card"> Lor </div> <div class="card"> Lor </div> <div class="card"> Lor </div> <div class="card"> Lor </div> <div class="card"> Lor </div> <div class="card"> Lor </div> </div> </body> </html>