4 ms·
From the website because I was wondering if this was some ReactNative alternative or what they meant by native HTML elements: > Native Elements (NE) is not a C
by giancarlostoro 6y ago
From the website because I was wondering if this was some ReactNative alternative or what they meant by native HTML elements:
> Native Elements (NE) is not a CSS framework, no bundlers required or tons of configurations to set. You can consider it as a customizable plug-n-play library for your site which helps you easily styling all the available HTML elements using CSS custom properties, classes, attributes, or whatever you want in less than 7 kB. You can also build your class-based CSS framework on top of it.
Seems interesting, but as a common web developer not uber ahead on next gen stuff they could really put more examples in the homepage outside of just a gif. My best guess is this allows you to create new HTML elements that have some default properties, which sounds nice enough. I heard the browser was coming out with this capability or related in the future, I always forget what they're calling it next but I'm still waiting on that, unless this builds on that?
> This library is built using modern CSS feature and best practices, the compiled version supports only the latest two Chrome, Safari, Firefox, and Edge versions and this is possible thanks to Browserslist
I'm all for us all collectively taking out legacy browsers and forcing grumpy IT guys who are going to get their orgs hacked to finally upgrade, but which features? These details are useful to know.
- nicoburns 6y agoThis is just a CSS framework that allows you to apply pre-baked styles by adding attributes to your HTML elements.
- IgorPartola 6y agoThis is the most concise explanation of what this project is. Why couldn’t the author save themselves the trouble of all that write up and just use that one sentence?
- yoz-y 6y agoAs opposed to using classes? What is the advantage?
- dirtnugget 6y agoNot having to add classes I guess, because that is way too complicated