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

https://github.com/awilum/asmcss-mixin-w

A mixin for Assembler CSS that provides extended functionality to set the width of an element.
https://github.com/awilum/asmcss-mixin-w

asmcss asmcss-mixin asmcss-mixin-w css framework front-end mixin mobile-first responsive web

Last synced: about 1 year ago
JSON representation

A mixin for Assembler CSS that provides extended functionality to set the width of an element.

Awesome Lists containing this project

README

          

# asmcss-mixin-w

A mixin for [Assembler CSS](https://github.com/asmcss/assembler) that provides extended functionality to set the width of an element.

### Installation

Install the mixin from npm:

```
npm install asmcss-mixin-w
```

or use the mixin from CDN:

```html

```

### Usage

```html



Dustin and Steve become like proud dads to each other in season 3.
They argue a lot, but they also praise each other's achievements.
For instance, when the Scoops Troop is left to their own devices,
it's Steve who has to step up and fight an evil Russian to get to where they need to go.


Earlier in the season, Dustin teases Steve about losing fights all the time - first with
Jonathan, then Billy. Steve realizes this is true, so when he defeats the Russian, Dustin
jumps for joy, amazed.


```

### Documentation

| value | css properties |
|---|---|
| auto | width: auto; |
| 1/2 | width: 50% |
| 1/3 | width: 33.333333%; |
| 2/3 | width: 66.666667%; |
| 1/4 | width: 25%; |
| 2/4 | width: 50%; |
| 3/4 | width: 75%; |
| 1/5 | width: 20%; |
| 2/5 | width: 40%; |
| 3/5 | width: 60%; |
| 4/5 | width: 80%; |
| 1/6 | width: 16.666667%; |
| 2/6 | width: 33.333333%; |
| 3/6 | width: 50%; |
| 4/6 | width: 66.666667%; |
| 5/6 | width: 83.333333%; |
| 1/12 | width: 8.333333%; |
| 2/12 | width: 16.666667%; |
| 3/12 | width: 25%; |
| 4/12 | width: 33.333333%; |
| 5/12 | width: 41.666667%; |
| 6/12 | width: 50%; |
| 7/12 | width: 58.333333%; |
| 8/12 | width: 66.666667%; |
| 9/12 | width: 75%; |
| 10/12 | width: 83.333333%; |
| 11/12 | width: 91.666667%; |
| full | width: 100%; |
| screen | width: 100vw; |
| min | width: min-content; |
| max | width: max-content; |

### License
[The MIT License (MIT)](https://github.com/Awilum/asmcss-mixin-w/blob/master/LICENSE)
Copyright (c) 2021 [Sergey Romanenko](https://github.com/Awilum)