From d3fc7c07a1a984bd8674aa4f5d9994715c70e3fb Mon Sep 17 00:00:00 2001 From: Eric Conrad Date: Wed, 1 May 2019 09:46:27 -0400 Subject: [PATCH] Added new box-decoration-break mixin --- utils/css3.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/utils/css3.scss b/utils/css3.scss index 815a35f..a656732 100644 --- a/utils/css3.scss +++ b/utils/css3.scss @@ -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 *