Frontend beer
@FullTimeVue
31
subscribers
15
photos
3
files
516
links
SOFU
Download Telegram
Join
Frontend beer
31 subscribers
Frontend beer
https://x.com/jh3yy/status/1710398436917321799?s=52&t=HHPE0yPKLMDJXVppPVq0nw
X (formerly Twitter)
jhey β²
π»
π
(@jh3yy) on X
Future CSS Tip!
π
You can create auto-resizing text inputs with one line of CSS
π€―
textarea {
form-sizing: content;
π
That's it!
}
The size of your input will grow to fit your content. If you want to constrain the size, do something like this:
textareaβ¦
Frontend beer
https://twitter.com/kentcdodds/status/1710691846769594554
X (formerly Twitter)
Kent C. Dodds
π
on X
https://t.co/qgKk9gLnn1 is 100% TypeScript
If you're not yet comfortable with TypeScript, this course will get you there
Frontend beer
https://twitter.com/jh3yy/status/1715409590320288041
X (formerly Twitter)
jhey β²
π»
π
(@jh3yy) on X
Reminder
π’
If you're animating numbers, use this line of CSS
π
.numbers {
font-variant: tabular-nums;
}
It will make sure your numbers don't jump around like this example seen in the wild
π€
Frontend beer
https://x.com/zernonia/status/1716819209945333900?s=52&t=HHPE0yPKLMDJXVppPVq0nw
X (formerly Twitter)
Zernonia (@zernonia) on X
After 4 months of hard work! I'm excited to share the first stable release for Radix Vue !
π
π
Thank you for all the love, and support @vuejs fam!
π
We are excited to build more primitive components for you!
π
Frontend beer
https://x.com/jh3yy/status/1719506023210213839?s=52&t=HHPE0yPKLMDJXVppPVq0nw
Frontend beer
https://twitter.com/mattpocockuk/status/1719679736471818651
X (formerly Twitter)
Matt Pocock (@mattpocockuk) on X
I'm putting together a full conf talk on TS features you never knew existed.
I'll be recording it in tiny, beautiful sections and uploading it in full on YouTube & TT.
Here's a clip of me talking about Pick and Omit.
Frontend beer
https://x.com/wesbos/status/1720188668533473423?s=52&t=HHPE0yPKLMDJXVppPVq0nw
Frontend beer
https://x.com/jh3yy/status/1720595836608872892?s=52&t=HHPE0yPKLMDJXVppPVq0nw
Frontend beer
https://x.com/jh3yy/status/1721929736052502568?s=52&t=HHPE0yPKLMDJXVppPVq0nw
X (formerly Twitter)
jhey β²
π»
π
(@jh3yy) on X
Future CSS Tip!
π
You can use scroll-driven animations like JavaScript's IntersectionObserver to animate highlights
βοΈ
mark {
animation-name: highlight;
animation-timeline: view();
}
@βkeyframes highlight { to { --light: 1; }}
mark span {
backgroundβ¦
Frontend beer
https://x.com/jh3yy/status/1724179122568495322?s=52&t=HHPE0yPKLMDJXVppPVq0nw
Frontend beer
New browser API
https://twitter.com/_nonfigurativ_/status/1727322594570027343
X (formerly Twitter)
ππΓΈππ πΎππππ (@_nonfigurativ_) on X
Entangled #fxhash
Frontend beer
https://twitter.com/mattpocockuk/status/1729975596854235447
Frontend beer
https://x.com/wesbos/status/1735729524069827044?s=52&t=HHPE0yPKLMDJXVppPVq0nw
X (formerly Twitter)
Wes Bos (@wesbos) on X
auto-growing <textarea> without JavaScript!
CSS is getting field-sizing: content; to size inputs by their contents.
Dropped in Chrome Canary today, demo here:
Frontend beer
https://x.com/jh3yy/status/1736742242281206057?s=52&t=HHPE0yPKLMDJXVppPVq0nw
X (formerly Twitter)
jhey β²
π»
π
(@jh3yy) on X
CSS Tip!
π
You can save yourself some scroll behavior headaches with this CSS one-liner
π€
.list { scroll-padding-top: var(--buffer, 48px); }
Items with position: sticky can mess up keyboard scroll
π
We're using this on the @vercel Universal Search (Watchβ¦
Frontend beer
https://x.com/_georgemoller/status/1736915583856165154?s=52&t=HHPE0yPKLMDJXVppPVq0nw
X (formerly Twitter)
George Moller (@_georgemoller) on X
β
Avoid Provider wrapping hell in React.
β
Instead combine all your Providers using composition.
Frontend beer
https://x.com/codewithshripal/status/1736738026351734900?s=52&t=HHPE0yPKLMDJXVppPVq0nw
X (formerly Twitter)
Shripal Soni (@codewithshripal) on X
CSS Tip
π‘
Easily implement sticky table header
π€©
π
Frontend beer
https://x.com/jh3yy/status/1737289296149717098?s=52&t=HHPE0yPKLMDJXVppPVq0nw
X (formerly Twitter)
jhey β²
π»
π
(@jh3yy) on X
Quite a lot of CSS trickery to cover in one video
π
Here you can see how it plays with multiple cards that have transparency
π
π
Frontend beer
https://twitter.com/codewithshripal/status/1738174123757711473
X (formerly Twitter)
Shripal Soni (@codewithshripal) on X
CSS Tip
π‘
Easily implement scroll snapping using CSS
π€©
π
Frontend beer
https://twitter.com/mattpocockuk/status/1739961623488450631
X (formerly Twitter)
Matt Pocock (@mattpocockuk) on X
The builder pattern might be the most powerful thing allowed by TypeScript.
Frontend beer
https://x.com/codewithshripal/status/1741806816840028167?s=52&t=HHPE0yPKLMDJXVppPVq0nw
X (formerly Twitter)
Shripal Soni (@codewithshripal) on X
CSS Tip
π‘
Use tabular numbers to show timers
β