mixin.scss 384 B

12345678910111213141516171819202122232425262728
  1. @mixin clearfix {
  2. &:after {
  3. content: "";
  4. display: table;
  5. clear: both;
  6. }
  7. }
  8. @mixin scrollBar {
  9. &::-webkit-scrollbar-track-piece {
  10. background: #d3dce6;
  11. }
  12. &::-webkit-scrollbar {
  13. width: 6px;
  14. }
  15. &::-webkit-scrollbar-thumb {
  16. background: #99a9bf;
  17. border-radius: 20px;
  18. }
  19. }
  20. @mixin relative {
  21. position: relative;
  22. width: 100%;
  23. height: 100%;
  24. }