Security News
OpenJS: “XZ Utils Cyberattack Likely Not an Isolated Incident”
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.
nano-css
Advanced tools
Weekly downloads
Readme
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.
styled-components
is 15.1Kb<style>
elements, but caches all styles for re-use and injects CSS using .insertRule()
for performance@media
queries and animation @keyframes
are supportedFor pre-configured simple-to-use package see
nano-theme
, which builds on top ofnano-css
.
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!stable
atoms
— demo!emmet
nesting
keyframes()
hydrate()
prefixer
stylis
unitless
!important
:global
animate/*
reset/*
reset-font
googleFont()
limit
amp
virtual
spread
array
snake
— demo!tachyons
rtl
extract
sourcemaps
.units
cssom
vcssom
FAQs
Smallest 5th gen CSS-in-JS library
The npm package nano-css receives a total of 1,263,302 weekly downloads. As such, nano-css popularity was classified as popular.
We found that nano-css demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.
Company News
Come meet the Socket team at BSidesSF and RSA! We're sponsoring several fun networking events and we would love to see you there.
Security News
OSI is starting a conversation aimed at removing the excuse of the SaaS loophole for companies navigating licensing and the complexities of doing business with open source.