rishabhsrao/voxel

View on GitHub
src/styles/mixins/_circle-shadow.scss

Summary

Maintainability
Test Coverage
@mixin voxel-circle-shadow($shadow--color, $shadow--radius, $shadow--height, $shadow--width) {
  box-shadow: $shadow--color 0 0 $shadow--radius 0;
  @include transform(translateX(-50%));
  border-radius: 50%;
  bottom: 0;
  content: "";
  height: $shadow--height;
  left: 50%;
  position: absolute;
  width: $shadow--width;
  z-index: -1;
}