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/_transitions.scss | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/sass/bootstrap4/_transitions.scss (limited to 'src/sass/bootstrap4/_transitions.scss') diff --git a/src/sass/bootstrap4/_transitions.scss b/src/sass/bootstrap4/_transitions.scss new file mode 100644 index 0000000..c8d91e2 --- /dev/null +++ b/src/sass/bootstrap4/_transitions.scss @@ -0,0 +1,22 @@ +// stylelint-disable selector-no-qualifying-type + +.fade { + @include transition($transition-fade); + + &:not(.show) { + opacity: 0; + } +} + +.collapse { + &:not(.show) { + display: none; + } +} + +.collapsing { + position: relative; + height: 0; + overflow: hidden; + @include transition($transition-collapse); +} -- cgit v1.2.3