https://github.com/xlsdg/tvcss
A flexible layout tool for television and mobile
https://github.com/xlsdg/tvcss
flexible layout mobile px2rem rem rem2px television
Last synced: about 2 months ago
JSON representation
A flexible layout tool for television and mobile
- Host: GitHub
- URL: https://github.com/xlsdg/tvcss
- Owner: xlsdg
- License: mit
- Created: 2016-12-31T07:11:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-05T01:55:57.000Z (over 8 years ago)
- Last Synced: 2024-12-31T04:02:27.365Z (5 months ago)
- Topics: flexible, layout, mobile, px2rem, rem, rem2px, television
- Language: JavaScript
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tvcss
> A flexible layout tool for television. Heavily inspired in [HotCss](https://github.com/imochen/hotcss).
## Installation
``` bash
$ npm install --save tvcss
```## Usage
``` html
```OR
``` html
```## Config
* `initial-dpr` **[Optional]**
* `min-width` **[Optional]**
* `max-width` **[Optional]**
* `design-width` **[Required]**## Properties
* `dpr`
* `minWidth`
* `maxWidth`
* `designWidth`## Methods
* `px2rem`
* `rem2px`
* `resize`
* `update` **[Delay resize]**# License
MIT