the new oss openai model likes tables, let's see what it's like trying to create a table in notion…
the new oss openai model likes tables, let's see what it's like trying to create a table in notion…
i added the Switch 2 glowy focus rings to my docs app
work should be fun :)
follow for more product demo videos
we apply a css transform to make sure the gradient covers the entire element
we apply a css transform to make sure the gradient covers the entire element
annoyingly, html supports conic gradients but svg doesn't. so we need to use svg's <foreignObject> element to embed a <div> with a conic gradient in the svg
annoyingly, html supports conic gradients but svg doesn't. so we need to use svg's <foreignObject> element to embed a <div> with a conic gradient in the svg
discord.com/blog/how-dis...
discord.com/blog/how-dis...
i read a blog post by discord 5 years ago which inspired me to reimplement their system in our app
i read a blog post by discord 5 years ago which inspired me to reimplement their system in our app
so we have to start with an absolutely positioned <svg> element that renders on top of whatever we're trying to focus
so we have to start with an absolutely positioned <svg> element that renders on top of whatever we're trying to focus
thanks nintendo
(btw, this is what the feature looks like on the switch 2)
thanks nintendo
(btw, this is what the feature looks like on the switch 2)
the paper is called "The Cassowary Linear Arithmetic Constraint Solving Algorithm"
it's the underpinning of apple's ios auto layout framework (more implementation details in thread)
1. the width of three images in a row MUST sum to document width
2. all images in a row MUST have the same height
3. images SHOULD maintain their aspect ratio
cassowary then finds the right width/height for the images in our gallery!
1. the width of three images in a row MUST sum to document width
2. all images in a row MUST have the same height
3. images SHOULD maintain their aspect ratio
cassowary then finds the right width/height for the images in our gallery!