Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shinnn/font-weight-values
Valid values of CSS font-weight property
https://github.com/shinnn/font-weight-values
Last synced: 27 days ago
JSON representation
Valid values of CSS font-weight property
- Host: GitHub
- URL: https://github.com/shinnn/font-weight-values
- Owner: shinnn
- License: unlicense
- Created: 2014-10-28T08:23:18.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-15T00:31:58.000Z (over 9 years ago)
- Last Synced: 2024-05-01T02:16:32.243Z (7 months ago)
- Language: JavaScript
- Homepage: http://www.w3.org/wiki/CSS/Properties/font-weight
- Size: 137 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# font-weight-values
[![NPM version](https://img.shields.io/npm/v/font-weight-values.svg)](https://www.npmjs.com/package/font-weight-values)
[![Bower version](https://img.shields.io/bower/v/font-weight-values.svg)](https://github.com/shinnn/font-weight-values/releases)
[![Build Status](https://travis-ci.org/shinnn/font-weight-values.svg?branch=master)](https://travis-ci.org/shinnn/font-weight-values)Valid values of [CSS font-weight property](https://www.w3.org/wiki/CSS/Properties/font-weight), except for the [CSS-wide keywords](https://github.com/shinnn/css-wide-keywords)
```json
[
"normal",
"bold",
"bolder",
"lighter",
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900"
]
```## Installation
### Package managers
#### [npm](https://www.npmjs.com/)
```
npm install font-weight-values
```#### [Bower](http://bower.io/)
```
bower install font-weight-values
```#### [Duo](http://duojs.org/)
```javascript
var fontWeightValues = require('shinnn/font-weight-values');
```### Standalone
[Download the script file directly.](https://raw.githubusercontent.com/shinnn/font-weight-values/master/browser.js)
## API
### fontWeightValues
Type: `Array` of `String`
## License
[The Unlicense](./LICENSE)