1.0.1 • Published 10 years ago
suitcss-utils-link v1.0.1
SUIT CSS utilities: link
SUIT CSS link utilities.
Read more about SUIT CSS's design principles.
Installation
Available classes
u-linkBlock- Block-level link with notext-decorationfor any state.u-linkClean- A link without notext-decorationfor any state.u-linkComplex- Limit a link's interactivetext-decorationunderline to a sub-section of the link text.<a class="u-linkComplex" href="{url}"> Link complex <span class="u-linkComplexTarget">target</span> </a>
Usage
Please refer to the README for SUIT CSS utils
Testing
Install Node (comes with npm).
npm installTo generate a build:
npm run buildTo lint code with postcss-bem-linter and stylelint
npm run lintTo generate the testing build.
npm run build-testTo watch the files for making changes to test:
npm run watchBasic visual tests are in test/index.html.
Browser support
- Google Chrome (latest)
- Opera (latest)
- Firefox 4+
- Safari 5+
- Internet Explorer 8+