You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

847 lines
29 KiB

  1. ---
  2. layout : 'default'
  3. css : 'Grid'
  4. title : 'Grid'
  5. description : 'A grid is a structure used to harmonize negative space in a layout'
  6. type : 'UI Collection'
  7. ---
  8. <%- @partial('header') %>
  9. <div class="main container">
  10. <div class="peek">
  11. <div class="ui vertical pointing secondary menu">
  12. <a class="active item">Standard</a>
  13. <a class="item">Elements</a>
  14. <a class="item">Types</a>
  15. <a class="item">Variations</a>
  16. </div>
  17. </div>
  18. <h2 class="ui dividing header">Standard</h2>
  19. <div class="highlighted example">
  20. <h4 class="ui header">Grid</h4>
  21. <p>A grid is made up of columns of content with gutters to provide negative space between columns.</p>
  22. <div class="ui ignore green message"><i class="icon heart"></i>All grid systems must assume an arbitrary amount of column rows. Semantic by default assumes <b>16 columns</b></div>
  23. <div class="ui grid">
  24. <div class="four wide column">
  25. <div class="ui segment">
  26. </div>
  27. </div>
  28. <div class="four wide column">
  29. <div class="ui segment">
  30. </div>
  31. </div>
  32. <div class="four wide column">
  33. <div class="ui segment">
  34. </div>
  35. </div>
  36. <div class="four wide column">
  37. <div class="ui segment">
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. <h2 class="ui dividing header">Elements</h2>
  43. <div class="highlighted example">
  44. <h4 class="ui header">Rows</h4>
  45. <p>A row is used to create vertical padding between groups of columns on a page. If no rows are specified columns will sit flush vertically.</p>
  46. <div class="ui grid">
  47. <div class="row">
  48. <div class="column">
  49. <div class="ui segment">
  50. A
  51. </div>
  52. </div>
  53. <div class="column">
  54. <div class="ui segment">
  55. A
  56. </div>
  57. </div>
  58. <div class="column">
  59. <div class="ui segment">
  60. A
  61. </div>
  62. </div>
  63. <div class="column">
  64. <div class="ui segment">
  65. A
  66. </div>
  67. </div>
  68. <div class="column">
  69. <div class="ui segment">
  70. A
  71. </div>
  72. </div>
  73. <div class="column">
  74. <div class="ui segment">
  75. A
  76. </div>
  77. </div>
  78. <div class="column">
  79. <div class="ui segment">
  80. A
  81. </div>
  82. </div>
  83. <div class="column">
  84. <div class="ui segment">
  85. A
  86. </div>
  87. </div>
  88. <div class="column">
  89. <div class="ui segment">
  90. A
  91. </div>
  92. </div>
  93. <div class="column">
  94. <div class="ui segment">
  95. A
  96. </div>
  97. </div>
  98. <div class="column">
  99. <div class="ui segment">
  100. A
  101. </div>
  102. </div>
  103. <div class="column">
  104. <div class="ui segment">
  105. A
  106. </div>
  107. </div>
  108. <div class="column">
  109. <div class="ui segment">
  110. A
  111. </div>
  112. </div>
  113. <div class="column">
  114. <div class="ui segment">
  115. A
  116. </div>
  117. </div>
  118. <div class="column">
  119. <div class="ui segment">
  120. A
  121. </div>
  122. </div>
  123. <div class="column">
  124. <div class="ui segment">
  125. A
  126. </div>
  127. </div>
  128. </div>
  129. <div class="row">
  130. <div class="column">
  131. <div class="ui segment">
  132. B
  133. </div>
  134. </div>
  135. <div class="column">
  136. <div class="ui segment">
  137. B
  138. </div>
  139. </div>
  140. <div class="column">
  141. <div class="ui segment">
  142. B
  143. </div>
  144. </div>
  145. <div class="column">
  146. <div class="ui segment">
  147. B
  148. </div>
  149. </div>
  150. <div class="column">
  151. <div class="ui segment">
  152. B
  153. </div>
  154. </div>
  155. <div class="column">
  156. <div class="ui segment">
  157. B
  158. </div>
  159. </div>
  160. <div class="column">
  161. <div class="ui segment">
  162. B
  163. </div>
  164. </div>
  165. <div class="column">
  166. <div class="ui segment">
  167. B
  168. </div>
  169. </div>
  170. <div class="column">
  171. <div class="ui segment">
  172. B
  173. </div>
  174. </div>
  175. <div class="column">
  176. <div class="ui segment">
  177. B
  178. </div>
  179. </div>
  180. <div class="column">
  181. <div class="ui segment">
  182. B
  183. </div>
  184. </div>
  185. <div class="column">
  186. <div class="ui segment">
  187. B
  188. </div>
  189. </div>
  190. <div class="column">
  191. <div class="ui segment">
  192. B
  193. </div>
  194. </div>
  195. <div class="column">
  196. <div class="ui segment">
  197. B
  198. </div>
  199. </div>
  200. <div class="column">
  201. <div class="ui segment">
  202. B
  203. </div>
  204. </div>
  205. <div class="column">
  206. <div class="ui segment">
  207. B
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. <div class="highlighted example">
  214. <h4 class="ui header">Columns</h4>
  215. <p>Columns each contain gutters giving them equal vertical spacing from other columns. Columns by default do not take up their entire row height.</p>
  216. <div class="ui three column grid">
  217. <div class="column">
  218. <div class="ui segment">
  219. 1
  220. </div>
  221. </div>
  222. <div class="column">
  223. <div class="ui segment">
  224. 2
  225. </div>
  226. </div>
  227. <div class="column">
  228. <div class="ui segment">
  229. 3
  230. </div>
  231. </div>
  232. <div class="column">
  233. <div class="ui segment">
  234. 4
  235. </div>
  236. </div>
  237. </div>
  238. </div>
  239. <h2 class="ui dividing header">Types</h2>
  240. <div class="example">
  241. <h4 class="ui header">Page Grid</h4>
  242. <p>A page grid exists on the top level of a web site. It can change its left and right gutter size to be responsive to a browser's width. This means the gutters to left and right of grid columns will alter in size as a browser's resolution increases.</p>
  243. <div class="ui text message info ignore">
  244. <i class="icon heart"></i> Semantic UI's page grid by default will change the page gutters to increase at 250pixel intervals.
  245. </div>
  246. <div class="ui two column page grid">
  247. <div class="column">
  248. <div class="ui labeled vertical fluid inverted icon menu">
  249. <a class="item">
  250. <i class="icon mail"></i>
  251. Mail
  252. </a>
  253. <a class="item">
  254. <i class="icon lab"></i>
  255. Lab
  256. </a>
  257. <a class="item">
  258. <i class="icon star"></i>
  259. Favorites
  260. </a>
  261. </div>
  262. </div>
  263. <div class="column">
  264. <div class="ui segment">
  265. <b>Inbox</b>
  266. <p>Welcome to your inbox. Would you like to see more information?</p>
  267. </div>
  268. </div>
  269. </div>
  270. </div>
  271. <div class="example">
  272. <h4 class="ui header">Divided Grid</h4>
  273. <p>A grid can have dividers between columns</p>
  274. <div class="ui six column divided grid">
  275. <div class="row">
  276. <div class="column">
  277. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  278. </div>
  279. <div class="column">
  280. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  281. </div>
  282. <div class="column">
  283. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  284. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  285. </div>
  286. <div class="column">
  287. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  288. </div>
  289. <div class="column">
  290. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  291. </div>
  292. <div class="column">
  293. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  294. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  295. </div>
  296. </div>
  297. <div class="row">
  298. <div class="column">
  299. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  300. </div>
  301. <div class="column">
  302. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  303. </div>
  304. <div class="column">
  305. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  306. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  307. </div>
  308. <div class="column">
  309. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  310. </div>
  311. <div class="column">
  312. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  313. </div>
  314. <div class="column">
  315. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  316. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  317. </div>
  318. </div>
  319. </div>
  320. </div>
  321. <div class="example">
  322. <h4 class="ui header">Vertically Divided Grid</h4>
  323. <p>A grid can have dividers between rows</p>
  324. <div class="ui vertically divided grid">
  325. <div class="two column row">
  326. <div class="column">
  327. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  328. </div>
  329. <div class="column">
  330. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  331. </div>
  332. </div>
  333. <div class="three column row">
  334. <div class="column">
  335. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  336. </div>
  337. <div class="column">
  338. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  339. </div>
  340. <div class="column">
  341. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  342. </div>
  343. </div>
  344. </div>
  345. </div>
  346. <div class="example">
  347. <h4 class="ui header">Celled Grid</h4>
  348. <p>A grid can have rows divided into cells</p>
  349. <div class="ui celled grid">
  350. <div class="row">
  351. <div class="two wide column" style="">
  352. <p>Lorem ipsum do</p>
  353. </div>
  354. <div class="three wide column" style="">
  355. <p>Lorem ipsum dolor </p>
  356. </div>
  357. <div class="seven wide column">
  358. <p>Lorem ipsum dolor sitos. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  359. </div>
  360. </div>
  361. <div class="row">
  362. <div class="five wide column">
  363. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  364. </div>
  365. <div class="three wide column">
  366. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  367. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  368. </div>
  369. <div class="two wide column">
  370. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  371. </div>
  372. <div class="two wide column">
  373. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  374. </div>
  375. </div>
  376. </div>
  377. </div>
  378. <h2 class="ui dividing header">Variations</h2>
  379. <h3 class="ui header">Grid</h3>
  380. <div class="example">
  381. <h4 class="ui header">Specifying Column Count Per Row</h4>
  382. <p>A grid can have a different number of columns per row</p>
  383. <div class="ui two column grid">
  384. <div class="column">
  385. <div class="ui fluid form segment">
  386. <h3 class="ui header">Log-in</h3>
  387. <div class="field">
  388. <label>Username</label>
  389. <input placeholder="Username" type="text">
  390. </div>
  391. <div class="field">
  392. <label>Password</label>
  393. <input type="password">
  394. </div>
  395. <div class="ui blue submit button">Login</div>
  396. </div>
  397. </div>
  398. <div class="column">
  399. <div class="ui fluid form segment">
  400. <h3 class="ui header">Register</h3>
  401. <div class="two fields">
  402. <div class="field">
  403. <label>First Name</label>
  404. <input placeholder="First Name" type="text">
  405. </div>
  406. <div class="field">
  407. <label>Last Name</label>
  408. <input placeholder="Last Name" type="text">
  409. </div>
  410. </div>
  411. <div class="field">
  412. <label>Username</label>
  413. <input placeholder="Username" type="text">
  414. </div>
  415. <div class="field">
  416. <label>Password</label>
  417. <input type="password">
  418. </div>
  419. <div class="inline field">
  420. <div class="ui checkbox">
  421. <input type="checkbox" id="terms" />
  422. <label for="terms"></label>
  423. </div>
  424. <label>I agree to the terms and conditions</label>
  425. </div>
  426. <div class="ui blue submit button">Submit</div>
  427. </div>
  428. </div>
  429. </div>
  430. </div>
  431. <div class="example">
  432. <h4 class="ui header">Relaxed</h4>
  433. <p>A grid can increase its gutters to allow for more negative space</p>
  434. <div class="ui two column relaxed grid">
  435. <div class="column">
  436. <div class="ui fluid form segment">
  437. <h3 class="ui header">Log-in</h3>
  438. <div class="field">
  439. <label>Username</label>
  440. <input placeholder="Username" type="text">
  441. </div>
  442. <div class="field">
  443. <label>Password</label>
  444. <input type="password">
  445. </div>
  446. <div class="ui blue submit button">Login</div>
  447. </div>
  448. </div>
  449. <div class="column">
  450. <div class="ui fluid form segment">
  451. <h3 class="ui header">Register</h3>
  452. <div class="two fields">
  453. <div class="field">
  454. <label>First Name</label>
  455. <input placeholder="First Name" type="text">
  456. </div>
  457. <div class="field">
  458. <label>Last Name</label>
  459. <input placeholder="Last Name" type="text">
  460. </div>
  461. </div>
  462. <div class="field">
  463. <label>Username</label>
  464. <input placeholder="Username" type="text">
  465. </div>
  466. <div class="field">
  467. <label>Password</label>
  468. <input type="password">
  469. </div>
  470. <div class="inline field">
  471. <div class="ui checkbox">
  472. <input type="checkbox" id="terms" />
  473. <label for="terms"></label>
  474. </div>
  475. <label>I agree to the terms and conditions</label>
  476. </div>
  477. <div class="ui blue submit button">Submit</div>
  478. </div>
  479. </div>
  480. </div>
  481. </div>
  482. <div class="example">
  483. <h4 class="ui header">Stackable Grid</h4>
  484. <p>A grid can have its columns stack on-top of each other after reaching mobile breakpoints</p>
  485. <div class="ui text message info ignore">
  486. <i class="icon heart"></i> To see a grid stack, try resizing your browser to a small width
  487. </div>
  488. <div class="two column stackable ui grid">
  489. <div class="column">
  490. <div class="ui segment">
  491. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  492. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  493. </div>
  494. </div>
  495. <div class="column">
  496. <div class="ui segment">
  497. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  498. <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.</p>
  499. </div>
  500. </div>
  501. </div>
  502. </div>
  503. <div class="example">
  504. <h4 class="ui header">Text Alignment</h4>
  505. <p>A grid can specify its text alignment</p>
  506. <div class="ui center aligned three column grid">
  507. <div class="row">
  508. <div class="column">
  509. <div class="ui vertical fluid menu">
  510. <div class="header item">
  511. Cats
  512. </div>
  513. </div>
  514. </div>
  515. <div class="column">
  516. <div class="ui vertical fluid menu">
  517. <div class="header item">
  518. Dogs
  519. </div>
  520. <div class="item">
  521. Poodle
  522. </div>
  523. <div class="item">
  524. Cockerspaniel
  525. </div>
  526. </div>
  527. </div>
  528. <div class="column">
  529. <div class="ui vertical fluid menu">
  530. <div class="header item">
  531. Monkeys
  532. </div>
  533. </div>
  534. </div>
  535. </div>
  536. </div>
  537. </div>
  538. <div class="example">
  539. <h4 class="ui header">Vertical Alignment</h4>
  540. <p>A grid can specify its vertical alignment to have all its columns vertically centered.</p>
  541. <div class="ui middle aligned three column grid">
  542. <div class="row">
  543. <div class="column">
  544. <div class="ui vertical fluid menu">
  545. <div class="header item">
  546. Cats
  547. </div>
  548. </div>
  549. </div>
  550. <div class="column">
  551. <div class="ui vertical fluid menu">
  552. <div class="header item">
  553. Dogs
  554. </div>
  555. <div class="item">
  556. Poodle
  557. </div>
  558. <div class="item">
  559. Cockerspaniel
  560. </div>
  561. </div>
  562. </div>
  563. <div class="column">
  564. <div class="ui vertical fluid menu">
  565. <div class="header item">
  566. Monkeys
  567. </div>
  568. </div>
  569. </div>
  570. </div>
  571. </div>
  572. </div>
  573. <h3 class="ui header">Rows</h3>
  574. <div class="example">
  575. <h4 class="ui header">Responsive to Device</h4>
  576. <p>A grid can have its columns, or rows only show content for computer, tablet, or mobile.</p>
  577. <div class="ui text message info ignore">
  578. <i class="icon heart"></i> Breakpoints are 768 for mobile, 768-998 for tablet and 998 for pc</i>
  579. </div>
  580. <div class="ui grid">
  581. <div class="two column mobile only row">
  582. <div class="column">
  583. <div class="ui segment">
  584. Mobile
  585. </div>
  586. </div>
  587. <div class="column">
  588. <div class="ui segment">
  589. Mobile
  590. </div>
  591. </div>
  592. </div>
  593. <div class="three column row">
  594. <div class="computer only column">
  595. <div class="ui segment">
  596. Computer
  597. </div>
  598. </div>
  599. <div class="tablet mobile only column">
  600. <div class="ui segment">
  601. Tablet and Mobile
  602. </div>
  603. </div>
  604. <div class="column">
  605. <div class="ui segment">
  606. All Sizes
  607. </div>
  608. </div>
  609. <div class="column">
  610. <div class="ui segment">
  611. All Sizes
  612. </div>
  613. </div>
  614. </div>
  615. <div class="four column computer only row">
  616. <div class="column">
  617. <div class="ui segment">
  618. Computer
  619. </div>
  620. </div>
  621. <div class="column">
  622. <div class="ui segment">
  623. Computer
  624. </div>
  625. </div>
  626. <div class="column">
  627. <div class="ui segment">
  628. Computer
  629. </div>
  630. </div>
  631. <div class="column">
  632. <div class="ui segment">
  633. Computer
  634. </div>
  635. </div>
  636. </div>
  637. <div class="three column tablet only row">
  638. <div class="column">
  639. <div class="ui segment">
  640. Tablet
  641. </div>
  642. </div>
  643. <div class="column">
  644. <div class="ui segment">
  645. Tablet
  646. </div>
  647. </div>
  648. <div class="column">
  649. <div class="ui segment">
  650. Tablet
  651. </div>
  652. </div>
  653. </div>
  654. </div>
  655. </div>
  656. <div class="example">
  657. <h4 class="ui header">Equal Height</h4>
  658. <p>A row can specify that it is equal height so all of its columns appear the length of its longest column.</p>
  659. <div class="ui three column grid">
  660. <div class="equal height row">
  661. <div class="column" style="background-color:#F0F0FF;">
  662. <p>This is a short row</p>
  663. </div>
  664. <div class="column" style="background-color:#F0F0FF;">
  665. <p>This is a short row</p>
  666. </div>
  667. <div class="column" style="background-color:#F0F0FF;">
  668. <p>This is a very long row with lots of text in it and way more text than the other rows</p>
  669. <p>It might even span for multiplie paragraphs.</p>
  670. </div>
  671. </div>
  672. </div>
  673. </div>
  674. <div class="example">
  675. <h4 class="ui header">Vertical Alignment</h4>
  676. <p>A row can also specify its vertical alignment to have its columns vertically centered.</p>
  677. <div class="ui three column grid">
  678. <div class="top aligned row">
  679. <div class="column">
  680. <div class="ui vertical fluid menu">
  681. <div class="header item">
  682. Cats
  683. </div>
  684. </div>
  685. </div>
  686. <div class="column">
  687. <div class="ui vertical fluid menu">
  688. <div class="header item">
  689. Dogs
  690. </div>
  691. <div class="item">
  692. Poodle
  693. </div>
  694. <div class="item">
  695. Cockerspaniel
  696. </div>
  697. </div>
  698. </div>
  699. <div class="column">
  700. <div class="ui vertical fluid menu">
  701. <div class="header item">
  702. Monkeys
  703. </div>
  704. </div>
  705. </div>
  706. </div>
  707. <div class="middle aligned row">
  708. <div class="column">
  709. <div class="ui vertical fluid menu">
  710. <div class="header item">
  711. Dogs
  712. </div>
  713. </div>
  714. </div>
  715. <div class="column">
  716. <div class="ui vertical fluid menu">
  717. <div class="header item">
  718. Dogs
  719. </div>
  720. <div class="item">
  721. Poodle
  722. </div>
  723. <div class="item">
  724. Cockerspaniel
  725. </div>
  726. </div>
  727. </div>
  728. <div class="column">
  729. <div class="ui vertical fluid menu">
  730. <div class="header item">
  731. Monkeys
  732. </div>
  733. </div>
  734. </div>
  735. </div>
  736. <div class="bottom aligned row">
  737. <div class="column">
  738. <div class="ui vertical fluid menu">
  739. <div class="header item">
  740. Cats
  741. </div>
  742. </div>
  743. </div>
  744. <div class="column">
  745. <div class="ui vertical fluid menu">
  746. <div class="header item">
  747. Dogs
  748. </div>
  749. <div class="item">
  750. Poodle
  751. </div>
  752. <div class="item">
  753. Cockerspaniel
  754. </div>
  755. </div>
  756. </div>
  757. <div class="column">
  758. <div class="ui vertical fluid menu">
  759. <div class="header item">
  760. Monkeys
  761. </div>
  762. </div>
  763. </div>
  764. </div>
  765. </div>
  766. </div>
  767. <h3 class="ui header">Columns</h3>
  768. <div class="example">
  769. <h4 class="ui header">Floating</h4>
  770. <p>A column can be "floated" to either the left or right of its row.</p>
  771. <div class="ui grid">
  772. <div class="left floated four wide column">
  773. <div class="ui vertical fluid menu">
  774. <div class="header item">
  775. Dogs
  776. </div>
  777. <div class="item">
  778. Poodle
  779. </div>
  780. <div class="item">
  781. Cockerspaniel
  782. </div>
  783. </div>
  784. </div>
  785. <div class="right floated four wide column">
  786. <div class="ui vertical fluid menu">
  787. <div class="header item">
  788. Cats
  789. </div>
  790. <div class="item">
  791. Abysinnian
  792. </div>
  793. <div class="item">
  794. Sphynx
  795. </div>
  796. </div>
  797. </div>
  798. </div>
  799. </div>
  800. <div class="example">
  801. <h4 class="ui header">Column Width</h4>
  802. <p>A column can vary in width taking up more than a single grid column.</p>
  803. <div class="ui grid">
  804. <div class="three wide column">
  805. <div class="ui segment"><b>Colume One</b> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum iaculis sapien.</div>
  806. </div>
  807. <div class="six wide column">
  808. <div class="ui segment"><b>Colume Two</b> Aliquam lobortis commodo sem ac accumsan. Vestibulum non faucibus lorem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Curabitur sed lorem lorem. Nam augue erat, dignissim nec aliquam vel, congue et sapien. Integer viverra justo vel nibh suscipit commodo. Nullam ut turpis nibh, in luctus risus. Sed ut risus nec dui mattis porta. Nam nisi magna, ornare mollis congue a, suscipit at nisl.</div>
  809. </div>
  810. <div class="three wide column">
  811. <div class="ui segment"><b>Colume Three</b> Donec semper mollis condimentum. Aenean eget rutrum magna. Mauris ornare nibh scelerisque turpis lobortis dignissim. Etiam eleifend justo eget quam semper vulputate. Nulla et risus convallis velit molestie iaculis. Aliquam erat volutpat. </div>
  812. </div>
  813. </div>
  814. </div>
  815. </div>