Further fixes
This commit is contained in:
parent
6718b426e1
commit
c515fc39a7
2 changed files with 30 additions and 30 deletions
30
README.md
30
README.md
|
@ -169,35 +169,35 @@ The following list contains examples for the various uses of selectors.
|
||||||
`*`
|
`*`
|
||||||
* An element with tag-name `e`
|
* An element with tag-name `e`
|
||||||
`e`
|
`e`
|
||||||
* An E element with the `:link` pseudo-selector
|
* An `e` element with the `:link` pseudo-selector
|
||||||
`(:and e :link)`
|
`(:and e :link)`
|
||||||
* The first formatted line of an E element
|
* The first formatted line of an `e` element
|
||||||
`(:and e |::first-line|)` or `(:and e "::first-line")`
|
`(:and e |::first-line|)` or `(:and e "::first-line")`
|
||||||
* An E element with a "warning" class
|
* An `e` element with a "warning" class
|
||||||
`e.warning`
|
`e.warning`
|
||||||
* An E element with ID equal to "warning"
|
* An `e` element with ID equal to `warning`
|
||||||
`|e#warning|` or `"e#warning"`
|
`|e#warning|` or `"e#warning"`
|
||||||
* An E element with a "foo" attribute
|
* An `e` element with a `foo` attribute
|
||||||
`e[foo]`
|
`e[foo]`
|
||||||
* An E element whose "foo" attribute value is exactly equal to "bar"
|
* An `e` element whose `foo` attribute value is exactly equal to `bar`
|
||||||
`(:and :a (:= foo "bar"))`
|
`(:and :a (:= foo "bar"))`
|
||||||
* An E element whose "foo" attribute value is a list of whitespace-separated values, one of which is exactly equal to "bar"
|
* An `e` element whose `foo` attribute value is a list of whitespace-separated values, one of which is exactly equal to `bar`
|
||||||
`(:and :a (:~= foo "bar"))`
|
`(:and :a (:~= foo "bar"))`
|
||||||
* An E element whose "foo" attribute has a hyphen-separated list of values beginning (from the left) with "bar"
|
* An `e` element whose `foo` attribute has a hyphen-separated list of values beginning (from the left) with `bar`
|
||||||
`(:and :a (:/= foo "bar"))`
|
`(:and :a (:/= foo "bar"))`
|
||||||
* An E element whose "foo" attribute value begins exactly with the string "bar"
|
* An `e` element whose `foo` attribute value begins exactly with the string `bar`
|
||||||
`(:and :a (:^= foo "bar"))`
|
`(:and :a (:^= foo "bar"))`
|
||||||
* An E element whose "foo" attribute value ends exactly with the string "bar"
|
* An `e` element whose `foo` attribute value ends exactly with the string `bar`
|
||||||
`(:and :a (:$= foo "bar"))`
|
`(:and :a (:$= foo "bar"))`
|
||||||
* An E element whose "foo" attribute value contains the substring "bar"
|
* An `e` element whose `foo` attribute value contains the substring `bar`
|
||||||
`(:and :a (:*= foo "bar"))`
|
`(:and :a (:*= foo "bar"))`
|
||||||
* An F element preceded by an E element
|
* An `f` element preceded by an `e` element
|
||||||
`(e ~ f)`
|
`(e ~ f)`
|
||||||
* An F element immediately precede by an E element
|
* An `f` element immediately precede by an `e` element
|
||||||
`(e + f)`
|
`(e + f)`
|
||||||
* An F element which is a descendant of E
|
* An `f` element which is a descendant of `e`
|
||||||
`(e f)`
|
`(e f)`
|
||||||
* An F element which is a direct descendant of E
|
* An `f` element which is a direct descendant of `e`
|
||||||
`(e > f)`
|
`(e > f)`
|
||||||
|
|
||||||
Extending LASS
|
Extending LASS
|
||||||
|
|
30
about.html
30
about.html
|
@ -207,35 +207,35 @@ article p a:hover, article blockquote a:hover{
|
||||||
<code>*</code></li>
|
<code>*</code></li>
|
||||||
<li>An element with tag-name <code>e</code><br/>
|
<li>An element with tag-name <code>e</code><br/>
|
||||||
<code>e</code></li>
|
<code>e</code></li>
|
||||||
<li>An E element with the <code>:link</code> pseudo-selector<br/>
|
<li>An <code>e</code> element with the <code>:link</code> pseudo-selector<br/>
|
||||||
<code>(:and e :link)</code></li>
|
<code>(:and e :link)</code></li>
|
||||||
<li>The first formatted line of an E element<br/>
|
<li>The first formatted line of an <code>e</code> element<br/>
|
||||||
<code>(:and e |::first-line|)</code> or <code>(:and e "::first-line")</code></li>
|
<code>(:and e |::first-line|)</code> or <code>(:and e "::first-line")</code></li>
|
||||||
<li>An E element with a "warning" class<br/>
|
<li>An <code>e</code> element with a "warning" class<br/>
|
||||||
<code>e.warning</code></li>
|
<code>e.warning</code></li>
|
||||||
<li>An E element with ID equal to "warning"<br/>
|
<li>An <code>e</code> element with ID equal to <code><a href="http://l1sp.org/cl/warning">warning</a></code><br/>
|
||||||
<code>|e#warning|</code> or <code>"e#warning"</code></li>
|
<code>|e#warning|</code> or <code>"e#warning"</code></li>
|
||||||
<li>An E element with a "foo" attribute<br/>
|
<li>An <code>e</code> element with a <code>foo</code> attribute<br/>
|
||||||
<code>e[foo]</code></li>
|
<code>e[foo]</code></li>
|
||||||
<li>An E element whose "foo" attribute value is exactly equal to "bar"<br/>
|
<li>An <code>e</code> element whose <code>foo</code> attribute value is exactly equal to <code>bar</code><br/>
|
||||||
<code>(:and :a (:= foo "bar"))</code></li>
|
<code>(:and :a (:= foo "bar"))</code></li>
|
||||||
<li>An E element whose "foo" attribute value is a list of whitespace-separated values, one of which is exactly equal to "bar"<br/>
|
<li>An <code>e</code> element whose <code>foo</code> attribute value is a list of whitespace-separated values, one of which is exactly equal to <code>bar</code><br/>
|
||||||
<code>(:and :a (:~= foo "bar"))</code></li>
|
<code>(:and :a (:~= foo "bar"))</code></li>
|
||||||
<li>An E element whose "foo" attribute has a hyphen-separated list of values beginning (from the left) with "bar"<br/>
|
<li>An <code>e</code> element whose <code>foo</code> attribute has a hyphen-separated list of values beginning (from the left) with <code>bar</code><br/>
|
||||||
<code>(:and :a (:/= foo "bar"))</code></li>
|
<code>(:and :a (:/= foo "bar"))</code></li>
|
||||||
<li>An E element whose "foo" attribute value begins exactly with the string "bar"<br/>
|
<li>An <code>e</code> element whose <code>foo</code> attribute value begins exactly with the string <code>bar</code><br/>
|
||||||
<code>(:and :a (:^= foo "bar"))</code></li>
|
<code>(:and :a (:^= foo "bar"))</code></li>
|
||||||
<li>An E element whose "foo" attribute value ends exactly with the string "bar"<br/>
|
<li>An <code>e</code> element whose <code>foo</code> attribute value ends exactly with the string <code>bar</code><br/>
|
||||||
<code>(:and :a (:$= foo "bar"))</code></li>
|
<code>(:and :a (:$= foo "bar"))</code></li>
|
||||||
<li>An E element whose "foo" attribute value contains the substring "bar"<br/>
|
<li>An <code>e</code> element whose <code>foo</code> attribute value contains the substring <code>bar</code><br/>
|
||||||
<code>(:and :a (:*= foo "bar"))</code></li>
|
<code>(:and :a (:*= foo "bar"))</code></li>
|
||||||
<li>An F element preceded by an E element<br/>
|
<li>An <code>f</code> element preceded by an <code>e</code> element<br/>
|
||||||
<code>(e ~ f)</code></li>
|
<code>(e ~ f)</code></li>
|
||||||
<li>An F element immediately precede by an E element<br/>
|
<li>An <code>f</code> element immediately precede by an <code>e</code> element<br/>
|
||||||
<code>(e + f)</code></li>
|
<code>(e + f)</code></li>
|
||||||
<li>An F element which is a descendant of E<br/>
|
<li>An <code>f</code> element which is a descendant of <code>e</code><br/>
|
||||||
<code>(e f)</code></li>
|
<code>(e f)</code></li>
|
||||||
<li>An F element which is a direct descendant of E
|
<li>An <code>f</code> element which is a direct descendant of <code>e</code>
|
||||||
<code>(e > f)</code></li>
|
<code>(e > f)</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue