Tailwind uses css variables, it’s really nothing more than a bunch of helper classes on top of css, it’s not a replacement or anything.
- 0 Posts
- 82 Comments
Ngl I love tailwind, I’ve been through so many different css paradigms
- separate css files: why did we ever do this, if you’ve ever used kendo’s css stuff you’ll understand how unfathomable hundreds of thousands of lines of css with complex rules is. Identifying all the things that affect a single component is the work of dozens of minutes at minimum, sometimes hours, you have to understand every nook and cranny of the css spec.
- inline styles: fine, but verbose and requires object spreading, harder to compose, theming is tough and requires discipline to be consistent in your theme conventions, almost impossible to also theme imported library components
- module.css with imported classes: my go to outside of tailwind
- scss: I actually really like scss but it exacerbates the complexity and mystery of css, great for small projects but terrible as projects bloat
- bootstrap: basically just worse tailwind, providing only components and colors
That’s all I can think of right now, but tailwind is my preferred way to style a new project, I love how easy theming and style consistency is
0x01@lemmy.mlto Technology@lemmy.world•Meta is Adding AI-Powered Summaries to WhatsAppEnglish55·9 days agoWhy not do it now?
We have one in an upstairs bedroom from midea, the window slides right between the front and back of the unit and it’s excellent. Our power consumption didn’t increase too terribly much and it’s actually decently quiet.
Not gonna put the model here but just look for U shaped window units. It has little legs that go outside.
Don’t get the inside standing units, they’re massive, loud, power hungry, and most of them are less effective than even the cheap window units.
Found the big blueberry shill
0x01@lemmy.mlto Privacy@lemmy.ml•Is there a way to block browser JavaScript from executing commands that retrieve sensitive information from my local machine, while still allowing JavaScript that is only used for rendering web pages?3·11 days agoYou could monkeypatch some javascript functions like the constructor Date types, but there will always be things not thought of that will leak date info. Hardware identifiers are quite difficult to get in javascript and several browsers already obfuscate that info.
Honestly if you’re very concerned, I really do think a virtual machine is your absolute safest approach, obviously the browsing experience is worse.
Check out amiunique.org to see what fingerprinting is generally available in your current browser
0x01@lemmy.mlto Privacy@lemmy.ml•Is there a way to block browser JavaScript from executing commands that retrieve sensitive information from my local machine, while still allowing JavaScript that is only used for rendering web pages?2·12 days agoJavascript can’t generally access your local machine directly, but scoped local data like cookies are available. What in particular are you nervous about? You could run your browser in a virtual machine?
0x01@lemmy.mlto Ask Lemmy@lemmy.world•What's something you immediately judge a person for when you see them wearing or have?114·14 days agoA cross necklace
One who wants others to think they believe
A vest over a button up
One who aspires and has not yet achieved
An oversized suit and padded heel shoes
One who is orange
0x01@lemmy.mlto Technology@lemmy.ml•‘It’s terrifying’: WhatsApp AI helper mistakenly shares user’s number5·15 days agoI love when articles tell me how to feel, takes all the thinking out of the equation. Now I know I should be shaking in my boots. Phew.
If the marriage was traditional and the spouse was coerced by either pregnancy or culture to give up aspirations or education, I think alimony is absolutely essential. That person gave up their dreams for a relationship and alimony could help them recover their skills.
If the marriage was modern and both spouses were equally educated and have professions? Alimony is stupid and archaic.
For spousal support I assume you mean while married, I think it’s a weird power dynamic to give a significant other money directly.
0x01@lemmy.mlto Ask Lemmy@lemmy.world•Wanting to restart my Webcomic. Any alternative to Wordpress that I could use on my website?3·1 month agoWordpress as a framework is kinda federated, you can host your own server if you want to.
You can look into wysiwyg website editors, self hosting a website with aws and s3 is wicked cheap, and other providers like netlify are also inexpensive to a lesser degree.
Mmm fair point
I don’t think anyone cares
Definitely self inflicted, possibly physician assisted, family has a history of degenerative neural diseases and I’m not gonna go out that way
0x01@lemmy.mlto Technology@lemmy.world•Stack Overflow seeks rebrand as traffic continues to plummet – which is bad news for developersEnglish112·2 months ago“Which is bad news for developers”
Nah, we’ve been through lots of iterations of community for developers, irc, maillists, forums, stackoverflow, etc. Most of my complex questions go through specific discord communities now. I’m not trying to spend a year editing a single post because some swamp ass weanie on stackoverflow has his nose covered in rule dust.
Yes ai has changed the game a bit, but it is not removing community, it’s mostly just cutting down on the question duplication
My most recent foray into a new technology was working with vulkan in rust on a mac, stackoverflow is useless compared to the vulkan discord.
0x01@lemmy.mlto Ask Lemmy@lemmy.world•What's an important (in your opinion) skill too many people seem to lack?17·2 months agoBinary search, there are so many instances where problems in life can be solved by eliminating half of a given set repeatedly.
Blender broken? There are only so many things that can go wrong, analyze the situation and try to find something that cuts your problem in half.
- Is the light on? It’s not electricity and that’s a huge chunk of what makes a blender work.
- Light not on? Well now you’ve eliminated (temporarily) mechanical systems and electrical remains. Further splitting that part of the blender means either house power or internal blender power, check the outlet with another machine
This approach involves further splitting the problem into 2 as evenly as possible each time. It doesn’t make sense to whip out the multimeter if the on light isn’t shining, you don’t need to check on your house’s breakers if the light is on, etc.
This system works for troubleshooting almost anything, all you have to do is find chokepoints and identify sections of your target. Toilet not flushing, faucet not on, car not starting, neck pain, allergies, it’s almost harder to think of something it doesn’t apply to.
Life is often not about how hard you work or how good you are, it’s often just about how lucky you have been. Were you born fortunate, were you lucky enough to get the job you needed, lucky to have been taught and understand financial literacy, lucky enough to avoid major health complications, lucky enough to be “smart” etc.
Frankly it’s incredible that we live as long as we do with the utter lack of compassion and community in the world.
I’m not going to financially contribute to your cause, which makes me complicit in your suffering, I’m sorry for that. I hope that your suffering is reduced and that your “luck” improves.
0x01@lemmy.mlto Android@lemmy.world•What is the best way to create an android app in 2025?English11·2 months agoI’ve made apps in tons of different ways, kotlin with jetpack compose, react native, cordova, old school java activities.
Imo cross platform is the way to go, react native has been the easiest to maintain for me, I have 4 production react native apps that have been fairly successful and easy to maintain. My two biggest complaints are the difficulty of running on desktop, and the pain of upgrading react native versions. Expo sucks but it’s the best we have and does help with upgrading.
Flutter is fine, dart is not my favorite but it’s definitely worth looking into.
I looked into the tiktok platform, didn’t really speak to me tbh
Fees that target the destitute are peak evil.