Bro… el ingeniero que CREÓ Claude Code soltó un video de 28 minutos y me voló la cabeza
Olvídate de los prompts genéricos que todo el mundo copia y pega
Este tipo te enseña exactamente cómo sacar el 300% de Claude: archivos CLAUDE.md, memoria permanente, sesiones paralelas y trucos de prompting que nadie te cuenta
Pagué cursos de 300 dólares que no llegan ni a la mitad de lo que él explica en los primeros 10 minutos
Y lo mejor: es gratis
No importa si estás empezando o si ya programas todo el día…
después de ver esto vas a usar la IA de una forma que ni sabías que existía
Guárdalo. Vas a volver mil veces 🔖
CSS Tip! 🤙
You can use mask-composite and some JavaScript to create this pointer proximity following glow border ✨
.glow {
mask-composite: intersect;
mask-clip: padding-box, border-box;
mask:
linear-gradient(#0000, #0000),
conic-gradient(#0000 0deg, #fff, #0000 45deg);
}
The trick is to mask a background-image with a combination of mask layers. mask-composite: intersect; means the mask used will be the intersection of the layers 🔥 use source-in, xor; in browsers that don't support intersect;
In this demo, you can use pseudoelements and rely on scoped custom properties to do a lot of the heavy lifting for you 🙌
Once you've masked the background, you need to update the starting angle of the conic-gradient on pointermove 👆
You can work that out by getting the center point of each card and then calculating the angle between that and the pointer with Math.atan2 🤓
let ANGLE = Math.atan2(
event?.y - CARD_CENTER[1],
event?.x - CARD_CENTER[0]
) * 180 / Math.PI
ANGLE = ANGLE < 0 ? ANGLE + 360 : ANGLE;
CARD.style.setProperty('--start', ANGLE + 90)
You plug that into your conic-gradient mask as a custom property accounting for --spread ⚡️
conic-gradient(from calc((var(--angle) - (var(--spread) * 0.5)) * 1deg), #000 0deg, #fff, #0000 calc(var(--spread) * 1deg));
To get the blur, you apply a blur to the glow container on each card 🤙
.glows {
filter: blur(calc(var(--blur) * 1px);
}
That's it! Layers of masks that are clipped and composited before being blurred 😎 The added trick is to fade each one in when the pointer is in the defined proximity of the card. For example, don't show unless within 100px of a card. You can see that in the video. Check out the JavaScript code for that 🫶
Couldn't resist making this one 😁
@CodePen link below! 👇
hey hey! https://t.co/Ce02ooJlre let's you paste your own CSS gradient as the background..
so I'll start putting HDR gradients in there from https://t.co/c6Gg3SatKx 🤓
We’re pleased to announce the release of the free and PRO versions of Advanced Custom Fields 6.0 🚀
✨ A fresh new plugin UI
🔢 Repeater pagination setting
📦 ACF Blocks v2
⌨️ Accessibility improvements
And more!
https://t.co/JRYnuobwVe
HUGE GIVEAWAY!
/roll your luck & enter to be in for the chance to win awesome loot from @HyperX@Warcraft & https://t.co/Uv1J4gdB6n
🔁🧡 Retweet & Like this Tweet
👤 Follow @Method
👤 Follow @HyperX
📧 Reply & tag a friend
🔗 More Entries https://t.co/lur90AgbXi
#WrathClassic
My @syntaxfm episode is out 🥳
We talked about React 18, Server Components, and the upcoming @nextjs routing/layouts changes.
Thanks again for having me on @wesbos@stolinski!
https://t.co/YlfFp6SkwJ
🎉 Shipping with Chrome 104 (released today) are individual CSS properties to do transforms.
From now on you can transform elements with the translate, rotate, and scale properties. Supported in all browser engines!
🔗 Read the post here: https://t.co/qLbpkZS92a
Future CSS Tip! 🔮
Use :has() to power <form> micro-interactions and theme 😎 No JavaScript. Animations powered by <input> state 🚀
.group:has(:invalid) {
animation: shake 0.5s;
}
form:has(.email:valid):has(.password:valid) .submit {
--color: green;
}
Demo link below 👇
🎊 Strapi v4 is live🎊
Discover in this new version:
✨ New dazzling design
🖌 The Strapi Design System
🔌 Plugin API
⚙️ Precise database query engine
🌪 More powerful REST & GraphQL API
Try it out!
https://t.co/00SMt9rsZU
#Strapiv4
I got 2000+ lint errors (🤯) in a project where I finally added `eslint-plugin-testing-library` (late I know). But there really were only 4 or 5 unique errors based on changed best practices since I learned RTL a few years ago
I've grouped them into 5️⃣ categories
/thread 🧵👇🏾