From 039c98a1b1dc5188d9843b1d256421aaa790a452 Mon Sep 17 00:00:00 2001 From: Konrad Mohrfeldt Date: Tue, 2 Mar 2021 12:50:48 +0100 Subject: [PATCH] docs: illustrate usage of alternative deep selector expressions (#1647) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without examples of the exact syntax the use of `::v-deep` and `/deep/` as alternative deep selectors is somewhat ambiguous as it’s not entirely clear where these expressions are expected. --- docs/guide/scoped-css.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/guide/scoped-css.md b/docs/guide/scoped-css.md index 5f19e8a51..904a2c58f 100644 --- a/docs/guide/scoped-css.md +++ b/docs/guide/scoped-css.md @@ -62,7 +62,19 @@ The above will be compiled into: .a[data-v-f3f3eg9] .b { /* ... */ } ``` -Some pre-processors, such as Sass, may not be able to parse `>>>` properly. In those cases you can use the `/deep/` or `::v-deep` combinator instead - both are aliases for `>>>` and work exactly the same. +Some pre-processors, such as Sass, may not be able to parse `>>>` properly. In those cases you can use the `/deep/` or `::v-deep` combinator instead - both are aliases for `>>>` and work exactly the same. Based on the example above these two expressions will be compiled to the same output: + +``` html + +``` + +``` html + +``` ## Dynamically Generated Content