News for hackers. Stuff that matters.
Re:Show HN: A completely different way to write responsive, ... by cosmotic on Thursday July 16, 2020 @10:08PM (#23866226)
When I clicked to see vanilla CSS, an NPM package was not something I expected to see.
Re:Show HN: A completely different way to write responsive, ... by wbobeirne on Thursday July 16, 2020 @10:10PM (#23866239)
You're more than welcome to copy the code directly into your project (https://unpkg.com/[email protected]/css-media-vars.css) or read the code, learn the technique, and implement it yourself. NPM is just one option for how to use the author's flavor of the technique.
Re:Show HN: A completely different way to write responsive, ... by PudgePacket on Thursday July 16, 2020 @11:35PM (#23866719)
Seems like it's just being used as a distribution method here.