프로젝트
GitHub에서 보기
streamich/nano-css
소개
안목 있는 개발자를 위한 정제된 CSS-in-JS
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalnano-css
Tiny 5th generation CSS-in-JS library that you can actually use in production.
Motto of nano-css is simple: create the smallest possible CSS-in-JS library and provide all features of any other library through addons.
- Only 0.5 Kb in base configuration, e.g.
styled-componentsis 15.1Kb - Library-agnostic — use it standalone, with React, Preact, Vue.js, or any other library
- Isomorphic — render on server and browser, generates stable class names, and re-hydrates
- Performant — simply the fastest library; does not create wrapper components, does not use inline styles or inline
<style>elements, but caches all styles for re-use and injects CSS using.insertRule()for performance @mediaqueries and animation@keyframesare supported- Auto-prefixes your styles
- Extract CSS into external style sheet
- Public domain — Unlicense license
For pre-configured simple-to-use package see
nano-theme, which builds on top ofnano-css.
Reference
- Installation
- Addons
put()— demo!rule()— demo!drule()— demo!sheet()— demo!dsheet()— demo!jsx()— demo!useStyles()— demo!withStyles()— demo!decorator— demo № 1 and demo № 2component— demo!style()— demo!styled()()— demo!hyperstyle()— demo!stableatoms— demo!emmetnestingkeyframes()hydrate()prefixerstylisunitless!important:globalanimate/*reset/*reset-fontgoogleFont()limitampvirtualspreadarraysnake— demo!tachyonsrtlextractsourcemaps.unitscssomvcssom
- Presets
- Server-side rendering
관련 프로젝트 살펴보기
불러오는 중…