Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryanve/weight.css

Functional CSS font-weight module
https://github.com/ryanve/weight.css

css font-weight functional-css opensource

Last synced: about 1 month ago
JSON representation

Functional CSS font-weight module

Awesome Lists containing this project

README

        

# weight.css
Functional CSS font-weight module

## install
```
npm install weight.css --save
```

```
yarn add weight.css
```

## import
```scss
@import './node_modules/weight.css/weight';
```

## usage
```
example 100
example 200
example 300
example 400
example 500
example 600
example 700
example 800
example 900
```

### [`font-weight`](https://www.w3.org/TR/css-fonts-3/#font-weight-prop)
> Quite often there are only a few weights available for a particular font family. When a weight is specified for which no face exists, a face with a nearby weight is used. In general, bold weights map to faces with heavier weights and light weights map to faces with lighter weights

Stay bold =)