https://xitter.cf/t.co/GeqZqp3nME - Bridging web design and implementation. 24th November 2016, Singapore

Singapore
Joined January 2012
While there is not going to be a 2018.cssconf.asia this time, you’ll find talks, workshops on design, frontend and CSS at @jsconfasia.
1
11
3
Putting CSS Anchor Positioning to the test by throwing dropdown menus around 💪 [popover].dropdown { top: anchor(bottom); right: anchor(right); position-try-options: flip-block, flip-inline; } That's all 👆 Keeps the menu tethered to the button
16
136
5
1,327
112,212
CSS Trick 📜 You can trigger text highlights on scroll with scroll-driven animations 😎 mark { animation: highlight; animation-timeline: view(); } @​keyframes highlight { to { --lit: 1; }} mark span { background-position: calc(var(--lit) * -110%) 0; transition: background 1s; } The trick is using a scroll-driven animation to flip a custom property on a <mark> element 🎚️ You flip the value between 0 and 1, and that transitions the background position of the <mark> element mark { --lit: 0; animation: highlight steps(1) both; animation-timeline: view(); animation-range: entry 100% cover 10%; } The background has to be applied on a child of the mark to see the change in the custom property 👀 mark span { background: linear-gradient( 120deg, yellow 50%, transparent 50%) 110% 0 / 220% 100% no-repeat; background-position: calc(var(--lit) * 110%) 0; transition: background-position 1s; } The trick is to set the background-size so that it's bigger than the element and then split the background-color in the middle using a linear-gradient 🤙 And the property flips fills in the color 🫶 That's it! If there isn't support for scroll-driven animations, use JavaScript's IntersectionObserver API. The code for this is in the demo 😎 Cool example of using CSS as an IntersectionObserver! @CodePen link below 👇
11
263
5
2,389
208,537
This is the most interesting CSS thing to me since Tailwind
✨📢 tokenami is now public! what started as a crazy lil idea for my own side projects has turned into something i've learnt a ton from, and thoroughly enjoyed building. feeling proud to finally share something with you all ☺️ Happy New Year 🎉 github.com/tokenami/tokenami
7
11
187
79,718
Go do! #css
Tinkering with CSS? Share your experience and contribute to The State of CSS! survey.devographics.com/en-U…
2
112
mix-blend-mode: exclusion 🤝 framer motion easy peasy lemon squeezy
15
43
1
851
119,838
Tailwind CSS Tip ✨ You can create a gooey effect in @tailwindcss using SVG gaussian blur. Live demo ↓ play.tailwindcss.com/W5wp927… (22/30) follow for 8 more tips 🔔
14
50
5
716
99,468
😬
I have a Tailwind CSS joke but the classes are too long to fit in a tweet
73
CSSConf.Asia retweeted
🌟 New: Conditional CSS I wrote about my thoughts on why I think CSS is conditional in many ways, and how I enjoy writing CSS with that mindset. Happy reading! 🔗 ishadeed.com/article/conditi…
3
51
3
227
36,130
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! 👇
31
282
25
2,287
375,098
*sigh* Best bang for the buck developer knowledge! #css
Devs will do anything but learn CSS.
1
56
CSSConf.Asia retweeted
🪄 CSS Blending Decompilation 🪄 Here is how @linear created a cool animated component with 10 (!) blending functions and just a couple lines of JS. 👨🏻‍💻Codepen to play: codepen.io/akella/pen/XWYrRm… Enjoy original at linear.app/customers #css #animation #linear
18
159
12
1,103
CSSConf.Asia retweeted
CSS generators can save you a lot of time and effort. Here are the 10 most useful CSS generators:
162
1,028
34
3,791
CSSConf.Asia retweeted
Container queries are finally here. This is a big day for CSS 🎉 To celebrate that, I'm starting a new lab to try all things container queries at lab.ishadeed.com/container-q…. This is inspired by @jensimmons's amazing CSS grid lab. Article: ishadeed.com/article/contain…
16
304
19
1,535
CSSConf.Asia retweeted
We just released v0.4.0 of Color.js 🚀 github.com/LeaVerou/color.js… Major new feature: @svgeesus implemented a bunch of different contrast algorithms, including APCA I made a demo that shows how different algos perform for picking between white and black text: colorjs.io/apps/blackwhite/
2
29
94
CSSConf.Asia retweeted
I'm a little obsessed with the idea of previous sibling selectors. codepen.io/chriscoyier/pen/q… @CodePen
23
191
16
1,916
💡 CSS Tip! Add an underline to your title and extend it to the right edge of the screen whatever the element/container size ✅ No extra element ✅ No pseudo-element ✅ No overflow issue ✅ Only 1 CSS property Demo: codepen.io/t_afif/full/yLvwg… via @CodePen #CSS
7
49
6
337
CSSConf.Asia retweeted
⚡ CSS Grid Ultimate Cheatsheet ⚡
67
472
19
2,137
When a picture reads your mind
24
156
32
1,012
CSSConf.Asia retweeted
Did you know there's a CSS value of `stupid` in the spec? 🙃 w3.org/TR/fill-stroke-3/#str…
12
53
5
357