
Software Engineer at #DXC | Angular | Typescript | NestJs
Hồ Chí Minh, Việt Nam
Joined December 2018
- Tweets18
- Following33
- Followers6
- Likes25
Xich Top retweeted
Join the Angular team for the Premiere of the v18 Developer launch event starting in 15 minutes 🥳
#AngularV18
goo.gle/angular-v18-event
Xich Top retweeted
CSS Trick 📏
Auto resizing textarea and input with one line 🔥
textarea, input { field-sizing: content; }
Read all about it in Steph's article 👇 It's landing soon!
nitter.gq/jh3yy/status/173…
📚New on the blog: Better form UX with the CSS property `field-sizing`
blog.stephaniestimac.com/pos…
Xich Top retweeted
Replying to @MrBeast
If I win this giveaway, I’ll give someone who likes and reshares this post: $6,900
Xich Top retweeted
Did you know, you can use <kbd> tags in your Markdown on GitHub to make text appear like a button. It's perfect for documenting things like keyboard shortcuts and game controls in your READMEs, wikis and issues.
Xich Top retweeted
Little CSS Christmas tree for the holidays 🎄
Powered by CSS custom properties 💪
~100 lines of CSS
The trick is in the animation-delay ✨
For example;
<div class=🔴 style="--index: 2;">
.🔴 {
animation-delay: calc(var(--index) * -0.2s);
}
@CodePen link below! 👇
Xich Top retweeted
Declarative lazy loading and prefetching is now availble in Angular v17:
- native deferred loading in templates
- optimize your initial load and bundle size
- in developer preview now!
youtube.com/watch?v=yE-YUr_a…
Xich Top retweeted
#angular
Came across an interesting video by @webdevcody where he solves a problem by a subscriber using React (the problem states to use React).
Would y'all be interested in an Angular version?
Xich Top retweeted
You asked (and patiently waited).
🌕→🌑 Dark mode for Atlas is here. trymongodb.com/46d0hET
Xich Top retweeted
Take control of your templates in a new way with the introduction of the new block syntax.
> if, for, else and more
Check out our announcement!
youtube.com/watch?v=hsUxJjY-…
Angular 17 is now available 🔥
You’re unable to view this post because this account owner limits who can view their posts. Learn more
1
43
Xich Top retweeted
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-position: calc((1 - var(--light)) * 110%) 0;
transition: background 1s;
}
The "trick" is to animate a custom property with a scroll-driven animation. These will flip in a binary fashion if not using @property. And that's what you want.
You can then use that value to set the style on the highlights (<mark>). What you see is the transition of a background-position to get the multi-line highlight. A technique posted on this account before 🤙
Added bonuses:
– Could use another element for the author initials of a highlight and animate that in too. Here the pseudoelement is being used. But another accessible span would do the trick.
– Highlight color is scoped inline via hue.
– View transition theme switch for a bonus that looks like a triangle. Been messing with Vercel docs so was the easiest thing to go with 😅
@CodePen link below! 👇
Xich Top retweeted
Welcome to Angular’s renaissance.
Angular.dev
Angular.dev
Welcome to Angular's renaissance











