Circle

Arguments

NameTypeDescription
$sizestring

The size of the circle.

Examples

Call the mixin in a selector and pass a number value (with unit) for the $size argument.

.element{
  @include circle(150px);
}
//CSS Output
.element {
  width: 150px;
  height: 150px;
  display: inline-block;
  border-radius: 100%;
}