diff options
Diffstat (limited to 'src_demo/components/_view.scss')
| -rw-r--r-- | src_demo/components/_view.scss | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ | |||
| 1 | @use 'iro-sass/src/index' as iro; | ||
| 2 | @use '../../src/functions' as fn; | ||
| 3 | |||
| 4 | @include iro.props-namespace('view') { | ||
| 5 | @include iro.bem-component(iro.props-namespace()) { | ||
| 6 | display: none; | ||
| 7 | |||
| 8 | &:target { | ||
| 9 | display: block; | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
