Skip to content

Commit

Permalink
Added new box-decoration-break mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
ericconrad committed May 1, 2019
1 parent 0f0269f commit d3fc7c0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions utils/css3.scss
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,16 @@
box-shadow: $string;
}

// Fixes missing shadow on the ends of wrapped text
@mixin box-decoration-break($string...) {
-webkit-box-decoration-break: $string;
-moz-box-decoration-break: $string;
-ms-box-decoration-break: $string;
-o-box-decoration-break: $string;
box-decoration-break: $string;

}

/**
* Text Shadows
*
Expand Down

0 comments on commit d3fc7c0

Please sign in to comment.