Jacob
1.4K posts

Jacob
@fat
worst engineer at the company, third coolest… created bootstrap 300 years ago… now building things at the Pierre Computer Company.
Oakland Katılım Eylül 2008
733 Takip Edilen36.2K Takipçiler

Alex and team have been spending lots of time thinking about middot truncation for the new Trees library by the Pierre Computer Company.
Last night he came across a novel approach to truncation that leverages container queries in a css grid to detect the *moment* of truncation.
The solution works on first render from css with no js, fully SSR compatible. Even copy paste works.
English

@fat I am not smart enough to understand what I’m looking at, but it feels important
English

@frederic_ooo agree! this technique does technically support both - alex just liked the fade for demo :shrug:
English

You can play around with it here v0-css-container-query-test.vercel.app
and ask @SlexAxton questions here
English

之前把 @pierrecomputer 的 diffs.com 包了一层 Swift,让它能在 Swift app 里直接用起来。之后实际集成到了一个自己每天常用的 app 里,用了一周多,没啥毛病...正式打个tag吧。有需要复用的朋友也不用再自己烧 token 包一次了 😂 本来也是过年回家一边打麻将一边在手机上指挥出来的,所以按照水友的建议,这次真换了个 YiTong 的 logo,算是致敬国粹了。 github.com/onevcat/YiTong


中文















