Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. .@{row-prefix-cls} {
  2. .make-row();
  3. display: block;
  4. &-flex {
  5. display: flex;
  6. flex-direction: row;
  7. flex-wrap: wrap;
  8. &:before,
  9. &:after {
  10. display: flex;
  11. }
  12. // x轴原点
  13. &-start {
  14. justify-content: flex-start;
  15. }
  16. // x轴居中
  17. &-center {
  18. justify-content: center;
  19. }
  20. // x轴反方向
  21. &-end {
  22. justify-content: flex-end;
  23. }
  24. // x轴平分
  25. &-space-between {
  26. justify-content: space-between;
  27. }
  28. // x轴有间隔地平分
  29. &-space-around {
  30. justify-content: space-around;
  31. }
  32. // 顶部对齐
  33. &-top {
  34. align-items: flex-start;
  35. }
  36. // 居中对齐
  37. &-middle {
  38. align-items: center;
  39. }
  40. // 底部对齐
  41. &-bottom {
  42. align-items: flex-end;
  43. }
  44. };
  45. }
  46. .@{col-prefix-cls} {
  47. position: relative;
  48. display: block;
  49. }
  50. .make-grid();
  51. // Extra small grid
  52. //
  53. // Columns, offsets, pushes, and pulls for extra small devices like
  54. // smartphones.
  55. .make-grid(-xs);
  56. // Small grid
  57. //
  58. // Columns, offsets, pushes, and pulls for the small device range, from phones
  59. // to tablets.
  60. @media (min-width: @screen-sm-min) {
  61. .make-grid(-sm);
  62. }
  63. // Medium grid
  64. //
  65. // Columns, offsets, pushes, and pulls for the desktop device range.
  66. @media (min-width: @screen-md-min) {
  67. .make-grid(-md);
  68. }
  69. // Large grid
  70. //
  71. // Columns, offsets, pushes, and pulls for the large desktop device range.
  72. @media (min-width: @screen-lg-min) {
  73. .make-grid(-lg);
  74. }