compass

https://github.com/chriseppstein/compass

CSS

Compass is no longer actively maintained. Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.

Compass::Core::SassExtensions::Functions::Selectors#headers

Return the header selectors for the levels indicated
Defaults to all headers h1 through h6
For example:
headers(all) => h1, h2, h3, h4, h5, h6
headers(4) => h1, h2, h3, h4
headers(2,4) => h2, h3, h4

Source | Google | Stack overflow

Edit

git clone [email protected]:chriseppstein/compass.git

cd compass

open core/lib/compass/core/sass_extensions/functions/selectors.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Compass--Core--SassExtensions--Functions--Selectors-headers-for-pr


# Commit to git

git add core/lib/compass/core/sass_extensions/functions/selectors.rbgit commit -m "better docs for Compass::Core::SassExtensions::Functions::Selectors#headers"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Compass--Core--SassExtensions--Functions--Selectors-headers-for-pr

hub pull-request


# Celebrate!