index.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Direction</title>
  5. <link href='resources/css/style.css' rel='stylesheet' />
  6. <link href='https://fonts.googleapis.com/css?family=Roboto+Mono' rel='stylesheet'>
  7. </head>
  8. <body>
  9. <h1>Flex-Direction: Row</h1>
  10. <div class='container' id='row'>
  11. <div class='box'>
  12. <h2>1</h2>
  13. </div>
  14. <div class='box'>
  15. <h2>2</h2>
  16. </div>
  17. <div class='box'>
  18. <h2>3</h2>
  19. </div>
  20. <div class='box'>
  21. <h2>4</h2>
  22. </div>
  23. <div class='box'>
  24. <h2>5</h2>
  25. </div>
  26. </div>
  27. <h1>Flex-Direction: Row-Reverse</h1>
  28. <div class='container' id='row-reverse'>
  29. <div class='box'>
  30. <h2>1</h2>
  31. </div>
  32. <div class='box'>
  33. <h2>2</h2>
  34. </div>
  35. <div class='box'>
  36. <h2>3</h2>
  37. </div>
  38. <div class='box'>
  39. <h2>4</h2>
  40. </div>
  41. <div class='box'>
  42. <h2>5</h2>
  43. </div>
  44. </div>
  45. <h1>Flex-Direction: Column</h1>
  46. <div class='container' id='column'>
  47. <div class='box'>
  48. <h2>1</h2>
  49. </div>
  50. <div class='box'>
  51. <h2>2</h2>
  52. </div>
  53. <div class='box'>
  54. <h2>3</h2>
  55. </div>
  56. <div class='box'>
  57. <h2>4</h2>
  58. </div>
  59. <div class='box'>
  60. <h2>5</h2>
  61. </div>
  62. </div>
  63. <h1>Flex-Direction: Column-Reverse</h1>
  64. <div class='container' id='column-reverse'>
  65. <div class='box'>
  66. <h2>1</h2>
  67. </div>
  68. <div class='box'>
  69. <h2>2</h2>
  70. </div>
  71. <div class='box'>
  72. <h2>3</h2>
  73. </div>
  74. <div class='box'>
  75. <h2>4</h2>
  76. </div>
  77. <div class='box'>
  78. <h2>5</h2>
  79. </div>
  80. </div>
  81. </body>
  82. </html>