From 00c9709fd9763542e848f6278db8ba26af5c9886 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 15 Oct 2018 23:46:42 +0200 Subject: Initial commit. --- src/sass/bootstrap4/mixins/_text-hide.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/sass/bootstrap4/mixins/_text-hide.scss (limited to 'src/sass/bootstrap4/mixins/_text-hide.scss') diff --git a/src/sass/bootstrap4/mixins/_text-hide.scss b/src/sass/bootstrap4/mixins/_text-hide.scss new file mode 100644 index 0000000..9ffab16 --- /dev/null +++ b/src/sass/bootstrap4/mixins/_text-hide.scss @@ -0,0 +1,13 @@ +// CSS image replacement +@mixin text-hide($ignore-warning: false) { + // stylelint-disable-next-line font-family-no-missing-generic-family-keyword + font: 0/0 a; + color: transparent; + text-shadow: none; + background-color: transparent; + border: 0; + + @if ($ignore-warning != true) { + @warn "The `text-hide()` mixin has been deprecated as of v4.1.0. It will be removed entirely in v5."; + } +} -- cgit v1.2.3