tvcss
v0.1.3
Published
A flexible layout tool for television
Maintainers
Readme
tvcss
A flexible layout tool for television. Heavily inspired in HotCss.
Installation
$ npm install --save tvcssUsage
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="tvcss" content="design-width=750"/>
<script src="/path/to/tvcss.min.js"></script>
</head>
<body>
</body>
</html>OR
<meta name="tvcss" content="initial-dpr=1.0,min-width=320,max-width=1920,design-width=1920"/>
<script src="//unpkg.com/tvcss/lib/tvcss.min.js"></script>Config
initial-dpr[Optional]min-width[Optional]max-width[Optional]design-width[Required]
Properties
dprminWidthmaxWidthdesignWidth
Methods
px2remrem2pxresizeupdate[Delay resize]
License
MIT
