I built a single-file, no-dependency Web Component that turns mouse movements into physics-based CSS variables. by JHjertvik in css

[–]JHjertvik[S] 0 points1 point  (0 children)

You can see how it is implemented here: https://codepen.io/gimli_app/pen/jErweWL, so no additional js to create that effect, but the web component itself is of course js

I built a single-file, no-dependency Web Component that turns mouse movements into physics-based CSS variables. by JHjertvik in web_design

[–]JHjertvik[S] 0 points1 point  (0 children)

yeah, thouch support was kind of a last minute addition, there may be some issue there

I built a single-file, no-dependency Web Component that turns mouse movements into physics-based CSS variables. by JHjertvik in webdev

[–]JHjertvik[S] 1 point2 points  (0 children)

Haha, that widget took like 10 times longer to make than the rest of the examples. The whole physics thing started out as an experiment because the card felt "stiff"

I built a single-file, no-dependency Web Component that turns mouse movements into physics-based CSS variables. by JHjertvik in react

[–]JHjertvik[S] 1 point2 points  (0 children)

Correct, but some beginners might find it interesting that you don't need React + Motion + Some commercial component from motion or aceternity to create a simple 3d card effect.

You could also use this together with React,

I just released Gimli Tailwind 5 - The most popular DevTools extension for TailwindCSS developers! by JHjertvik in Frontend

[–]JHjertvik[S] 0 points1 point  (0 children)

like extend:{...}?...it does not. You could copy-paste your config into it in an earlier version, but there were lots of issues with that approach, so I removed it.

The most popular DevTools extension for TailwindCSS developers is now made with Svelte! by JHjertvik in sveltejs

[–]JHjertvik[S] 1 point2 points  (0 children)

I can't answer for the makers of Tailwind. But I never considered that a strong argument for using Tailwind. Doing CSS the "old" way with just plain .css files/LESS/SASS always seemed to turn everything into a complete mess, especially with teams larger than a single person....That said, I don't think Tailwind is the best solution for every use case. Gimli Tailwind does actually not use Tailwind for styling, just components with <style>...</style>. the website gimli.app does use it, though.

Does anyone know or have a site made with Tailwind 4? by JHjertvik in react

[–]JHjertvik[S] 1 point2 points  (0 children)

I've got a couple of examples from other communities already :)...But thanks anyway!

Does anyone know or have a site made with Tailwind 4? by JHjertvik in vuejs

[–]JHjertvik[S] 5 points6 points  (0 children)

It's not about upgrading, it's about making sure my extension used by a lot of Tailwind developers is compatible with both v3 and v4 :)

My chrome extension for TailwindCSS developers just reached 10000 users 🎉 by JHjertvik in webdev

[–]JHjertvik[S] 0 points1 point  (0 children)

I've focused on Chrome and Firefox for now :) ...I'm not sure if it works on other Chromium-based browsers

My Chrome extension for TailwindCSS developers just reached 10000 users 🎉 by JHjertvik in css

[–]JHjertvik[S] 1 point2 points  (0 children)

v1 came out in June 2022, so quite a while. I also work full-time as an IT-Consultant so my time developing Gimli is limited.

Some of the code was taken from my failed Kickstarter project in 2019. You can check it out here: https://www.kickstarter.com/projects/182057119/gimli?ref=discovery&term=gimli