idnan / furnish-js Goto Github PK
View Code? Open in Web Editor NEWLet the classes on DOM elements generate the CSS for you.
Let the classes on DOM elements generate the CSS for you.
Hi,
Loading the min js crashes firefox - error's that the script has stop responding. When I remove it my site loads fine.
Hi,
This is great but I could not get it to work. I tried including the min and regular js but attaching classes in your format didn't affect styling in Chrome or Firefox.
Maybe I'm missing something?
I'm just wondering why not make every style end up with !important
to force the class since the developer is looking mostly for fast aligning solution to manage his DOMs
Hi,
I love the idea behind this, and I have a suggestion. In my opinion, it would be cool to use this as a preprocessor that takes an HTML file as input, and generates output CSS with only the required classes. That way it could be used as a Grunt/Gulp task and the runtime footprint would be even smaller.
What do you think?
I know that this is opinion-based, but I would like to provide a little list of arguments on why this module is a bad idea. It is okay for experimenting, but please do not use this in production.
MutationObserver
used in this module is not supported by older browsers and there is no backwards-compatibility implemented.p10
to p15
. You have to update every element individually, because there is no external stylesheet anymore.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.