Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Distilled CSS-in-JS for gourmet developers

License

NotificationsYou must be signed in to change notification settings

streamich/nano-css

Repository files navigation

Tiny5th generation CSS-in-JS library that you can actually use in production.Motto ofnano-css is simple:create the smallest possible CSS-in-JS library and provide all features of any other library through addons.

  • Only0.5 Kb in base configuration,e.g.styled-components is15.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
  • Performantsimply 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
  • @media queries andanimation@keyframes are supported
  • Auto-prefixes your styles
  • Extract CSS into external style sheet
  • Public domainUnlicense license

For pre-configured simple-to-use package seenano-theme, which builds on top ofnano-css.

Reference

About

Distilled CSS-in-JS for gourmet developers

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors17


[8]ページ先頭

©2009-2025 Movatter.jp