mixin.scss 658 B

1234567891011121314151617181920212223242526272829303132333435
  1. @mixin croix_or {
  2. &:after{
  3. height: 10px;
  4. margin-top: 0.5rem;
  5. content: " ";
  6. display: block;
  7. background: url($croix_or);
  8. background-repeat: repeat-x;
  9. background-size: auto auto;
  10. }
  11. }
  12. @mixin croix_or_B {
  13. &:before{
  14. width: 100px;
  15. height: 10px;
  16. margin-top: 0.5rem;
  17. content: " ";
  18. display: block;
  19. background: url($croix_or);
  20. background-repeat: repeat-x;
  21. background-size: auto auto;
  22. }
  23. }
  24. @mixin shadow{
  25. box-shadow: none;
  26. transition: 0.3s transform ease, 0.3s box-shadow ease;
  27. &:hover{
  28. transform: scale(1.05);
  29. transition: 0.3s all ease;
  30. box-shadow: 0px 0px 13px 0px $color2;
  31. }
  32. }