租房小程序前端代码
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.

33 lines
402 B

3 months ago
  1. @mixin flex {
  2. display: flex;
  3. }
  4. @mixin rn {
  5. flex-flow: row nowrap;
  6. }
  7. @mixin cn {
  8. flex-flow: column nowrap;
  9. }
  10. @mixin flex-rn {
  11. @include flex;
  12. @include rn;
  13. align-items: center;
  14. }
  15. @mixin flex-cn {
  16. @include flex;
  17. @include cn;
  18. align-items: center;
  19. }
  20. @mixin flex-h-c {
  21. @include flex-rn;
  22. justify-content: center;
  23. }
  24. @mixin flex-v-c {
  25. @include flex-cn;
  26. justify-content: center;
  27. }