mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
Typos fixed on the modules/selector page: selector.unify() -> selector-unify(), compound-selectors() -> simple-selectors()
This commit is contained in:
parent
5b5713faff
commit
7c14fd88d7
@ -211,7 +211,7 @@ also just be normal strings (quoted or unquoted), or a combination. For example,
|
||||
|
||||
|
||||
<% function 'selector.unify($selector1, $selector2)',
|
||||
'selector.unify($selector1, $selector2)',
|
||||
'selector-unify($selector1, $selector2)',
|
||||
returns: 'selector | null' do %>
|
||||
Returns a selector that matches only elements matched by *both* `$selector1`
|
||||
and `$selector2`.
|
||||
@ -251,10 +251,10 @@ also just be normal strings (quoted or unquoted), or a combination. For example,
|
||||
strings.
|
||||
|
||||
<% example(autogen_css: false) do %>
|
||||
@debug selector.compound-selectors("a.disabled"); // a, .disabled
|
||||
@debug selector.compound-selectors("main.blog:after"); // main, .blog, :after
|
||||
@debug selector.simple-selectors("a.disabled"); // a, .disabled
|
||||
@debug selector.simple-selectors("main.blog:after"); // main, .blog, :after
|
||||
===
|
||||
@debug selector.compound-selectors("a.disabled") // a, .disabled
|
||||
@debug selector.compound-selectors("main.blog:after") // main, .blog, :after
|
||||
@debug selector.simple-selectors("a.disabled") // a, .disabled
|
||||
@debug selector.simple-selectors("main.blog:after") // main, .blog, :after
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
Loading…
Reference in New Issue
Block a user