CSSConf.Asia

2.2K posts

CSSConf.Asia banner
CSSConf.Asia

CSSConf.Asia

@cssconfasia

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

Singapore Katılım Ocak 2012
149 Takip Edilen901 Takipçiler
Sabitlenmiş Tweet
CSSConf.Asia
CSSConf.Asia@cssconfasia·
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.
English
1
11
3
0
CSSConf.Asia retweetledi
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
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
English
16
141
1.3K
112K
CSSConf.Asia retweetledi
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
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 element 🎚️ You flip the value between 0 and 1, and that transitions the background position of the 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 👇
English
11
268
2.4K
208.1K
CSSConf.Asia retweetledi
Sam Selikoff
Sam Selikoff@samselikoff·
mix-blend-mode: exclusion 🤝 framer motion easy peasy lemon squeezy
English
15
44
859
119.8K
CSSConf.Asia retweetledi
Ahmad Shadeed
Ahmad Shadeed@shadeed9·
🌟 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/condit…
Ahmad Shadeed tweet mediaAhmad Shadeed tweet mediaAhmad Shadeed tweet mediaAhmad Shadeed tweet media
English
3
52
229
36.1K
CSSConf.Asia retweetledi
jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ@jh3yy·
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! 👇
English
31
288
2.3K
374.5K
CSSConf.Asia retweetledi
Marko Denic
Marko Denic@denicmarko·
CSS generators can save you a lot of time and effort. Here are the 10 most useful CSS generators:
English
162
1K
3.9K
0
CSSConf.Asia retweetledi
• nanou •
• nanou •@NanouuSymeon·
CSS is Cool 😎 <css-doodle> is double the awesomeness 🥳 drawing patterns with CSS 🔥 Check it out 👇🏻 css-doodle.com
English
5
8
42
0
CSSConf.Asia retweetledi
CSS by T. Afif
CSS by T. Afif@ChallengesCss·
💡 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/yL… via @CodePen #CSS
CSS by T. Afif tweet mediaCSS by T. Afif tweet media
English
7
49
340
0
CSSConf.Asia retweetledi
Aakash Rao
Aakash Rao@Aakash_codes·
⚡ CSS Grid Ultimate Cheatsheet ⚡
Aakash Rao tweet media
English
67
480
2.2K
0
CSSConf.Asia retweetledi
Kadi Kraman 💚
Kadi Kraman 💚@kadikraman·
When a picture reads your mind
Kadi Kraman 💚 tweet media
English
24
159
1K
0