When to use CSS vs. JS for WordPress best practices?
- This topic is empty.
- You must be logged in to reply to this topic.
May 2024 only! Join our Discord free of charge.
CSS is easier for me but some of the new features are kind of hacky IMO… it just seems like some guys trying to do too much with CSS.
I stumbled on this post
great quote from it
A few years ago, there was an obsession with finding creative CSS hacks for things that would normally be done in JS.
A CSS-only expand/collapse navigation menu is the one that jumps to mind. Here’s an example. These are really cool examples of pushing CSS farther and thinking about code creatively, but…
The results are often wildly inaccessible.
I think one problem with JS is that nobody ever knows which “JS” you are talking about, that is vanilla javascript, jQuery, React, Vue, some other frameworks or can be anything.
CSS, well is CSS (mostly)
JS frameworks have created a generation of JS snobs…..
😂
mostly CSS is better, because its lighter and faster. but it depends on what you’re trying to do because CSS3 can require too many declarations to do something that JS only needs a few lines to accomplish (and maybe more reliable)
Friends, the time has come for us to ask for your financial support. After 5+ years of (growing) expenses, and taking time away from consulting and services, we must start generating donations in order to continue this level of rapid project development. Please consider donating, so that we can keep SlickStack free and open source. Thank you! 🙏 😍
We champion core values like free speech, transparency, and portability, and welcome anyone else who does too.
Here is a non-exhaustive list of plugins, themes, and other services that we recommend checking out.
Every stack script and server deployment platform is a bit different, so check to see how SlickStack compares.
Subscribe to our free newsletter to receive occassional updates, we respect your privacy and do not sell your information.
Here’s some of the incredible performance features you can expect after launching your SlickStack cloud VPS.
If you are wondering what specific problems SlickStack can help solve, browse some of the solutions below.
In lieu of donations, please show your support by mentioning SlickStack on your blog or write a review. Thank you!