https://github.com/suitcss/utils-link
CSS link utilities
https://github.com/suitcss/utils-link
Last synced: over 1 year ago
JSON representation
CSS link utilities
- Host: GitHub
- URL: https://github.com/suitcss/utils-link
- Owner: suitcss
- License: mit
- Created: 2013-03-03T09:45:03.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2016-10-13T02:16:03.000Z (over 9 years ago)
- Last Synced: 2024-04-28T17:20:58.982Z (about 2 years ago)
- Language: HTML
- Homepage: http://suitcss.github.io/utils-link/test/
- Size: 41 KB
- Stars: 16
- Watchers: 9
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SUIT CSS utilities: link
[](https://travis-ci.org/suitcss/utils-link)
SUIT CSS link utilities.
Read more about [SUIT CSS's design principles](https://github.com/suitcss/suit/).
## Installation
* [npm](http://npmjs.org/): `npm install suitcss-utils-link`
* Download: [zip](https://github.com/suitcss/utils-link/releases/latest)
## Available classes
* `u-linkBlock` - Block-level link with no `text-decoration` for any state.
* `u-linkClean` - A link without no `text-decoration` for any state.
* `u-linkComplex` - Limit a link's interactive `text-decoration` underline to a
sub-section of the link text.
```html
Link complex
target
```
## Usage
Please refer to the README for [SUIT CSS utils](https://github.com/suitcss/utils/)
## Testing
Install [Node](http://nodejs.org) (comes with npm).
```
npm install
```
To generate a build:
```
npm run build
```
To lint code with [postcss-bem-linter](https://github.com/postcss/postcss-bem-linter) and [stylelint](http://stylelint.io/)
```
npm run lint
```
To generate the testing build.
```
npm run build-test
```
To watch the files for making changes to test:
```
npm run watch
```
Basic visual tests are in `test/index.html`.
## Browser support
* Google Chrome (latest)
* Opera (latest)
* Firefox 4+
* Safari 5+
* Internet Explorer 8+