Live data from Hacker News

Native HTML elements with CSS superpowers

native-elements.dev

21–30 of 31 posts

Re: Native HTML elements with CSS superpowers

#24
post #8

Earlier quoted context omitted.

This is just a CSS framework that allows you to apply pre-baked styles by adding attributes to your HTML elements.

As opposed to using classes? What is the advantage?

Not having to add classes I guess, because that is way too complicated

Re: Native HTML elements with CSS superpowers

#27

The homepage tells you nothing about what this is. Even if I go to the GitHub I get "Native Elements (NE) is not a CSS framework"...great so what is it?

It looks like it generates a classless CSS file based off settings you give it? Someone can correct me.

Nope, it will style native HTML elements based on CSS vars you define on the theme

Re: Native HTML elements with CSS superpowers

#28
post #27

Earlier quoted context omitted.

It looks like it generates a classless CSS file based off settings you give it? Someone can correct me.

Nope, it will style native HTML elements based on CSS vars you define on the theme

Isn’t that what the parent means by ‘classless’? As in it only generates styles for all instances of particular elements instead of classifying them like ‘div.my-special-div’ or whatever
Post reply on HN