_border-radius.scss 492 B

123456789101112131415161718
  1. // Single side border-radius
  2. @mixin border-top-radius($radius) {
  3. border-top-right-radius: $radius;
  4. border-top-left-radius: $radius;
  5. }
  6. @mixin border-right-radius($radius) {
  7. border-bottom-right-radius: $radius;
  8. border-top-right-radius: $radius;
  9. }
  10. @mixin border-bottom-radius($radius) {
  11. border-bottom-right-radius: $radius;
  12. border-bottom-left-radius: $radius;
  13. }
  14. @mixin border-left-radius($radius) {
  15. border-bottom-left-radius: $radius;
  16. border-top-left-radius: $radius;
  17. }