From 5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 25 Mar 2022 18:29:21 +0100 Subject: Split demo in :target views --- src_demo/components/_view.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src_demo/components/_view.scss (limited to 'src_demo/components/_view.scss') diff --git a/src_demo/components/_view.scss b/src_demo/components/_view.scss new file mode 100644 index 0000000..8086280 --- /dev/null +++ b/src_demo/components/_view.scss @@ -0,0 +1,12 @@ +@use 'iro-sass/src/index' as iro; +@use '../../src/functions' as fn; + +@include iro.props-namespace('view') { + @include iro.bem-component(iro.props-namespace()) { + display: none; + + &:target { + display: block; + } + } +} -- cgit v1.2.3-70-g09d2