Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/node_modules/postcss-resolve-nested-selector/README.md')
-rw-r--r--assets/node_modules/postcss-resolve-nested-selector/README.md65
1 files changed, 0 insertions, 65 deletions
diff --git a/assets/node_modules/postcss-resolve-nested-selector/README.md b/assets/node_modules/postcss-resolve-nested-selector/README.md
deleted file mode 100644
index 7d24f46..0000000
--- a/assets/node_modules/postcss-resolve-nested-selector/README.md
+++ /dev/null
@@ -1,65 +0,0 @@
-# postcss-resolve-nested-selector
-
-[![Build Status](https://travis-ci.org/davidtheclark/postcss-resolve-nested-selector.svg?branch=master)](https://travis-ci.org/davidtheclark/postcss-resolve-nested-selector)
-
-Given a (nested) selector in a PostCSS AST, return an array of resolved selectors.
-
-Tested to work with the syntax of
-[postcss-nested](https://github.com/postcss/postcss-nested)
-and [postcss-nesting](https://github.com/jonathantneal/postcss-nesting).
-Should also work with SCSS and Less syntax. If you'd like to help out by
-adding some automated tests for those, that'd be swell. In fact, if you'd
-like to add any automated tests, you are a winner!
-
-## API
-
-`resolveNestedSelector(selector, node)`
-
-Returns an array of selectors resolved from `selector`.
-
-For example, given this JS:
-
-```js
-var resolvedNestedSelector = require('postcss-resolve-nested-selector');
-postcssRoot.eachRule(function(rule) {
- rule.selectors.forEach(function(selector) {
- console.log(resolvedNestedSelector(selector, rule));
- });
-});
-```
-
-And the following CSS:
-
-```scss
-.foo {
- .bar {
- color: pink;
- }
-}
-```
-
-This should log:
-
-```
-['.foo']
-['.foo .bar']
-```
-
-Or with this CSS:
-
-```scss
-.foo {
- .bar &,
- a {
- color: pink;
- }
-}
-```
-
-This should log:
-
-```
-['.foo']
-['.bar .foo']
-['.foo a']
-```