HN user

SirHound

1,192 karma
Posts39
Comments320
View on HN
cssstudio.ai 3mo ago

Show HN: CSS Studio. Design by hand, code by agent

SirHound
175pts107
motion.dev 6mo ago

Interview: David Haz, Creator of React Bits

SirHound
1pts0
motion.dev 8mo ago

The Web Animation Performance Tier List

SirHound
3pts0
motion.dev 1y ago

Revealed: React's Experimental Animations API

SirHound
2pts0
motion.dev 1y ago

Framer Motion is now independent. Introducing Motion

SirHound
10pts1
motion.dev 4y ago

Motion DevTools

SirHound
3pts0
www.framer.com 4y ago

LayoutCamera

SirHound
2pts0
motion.dev 4y ago

Show HN: Motion One – New animation library, built on the Web Animations API

SirHound
327pts58
motion.dev 5y ago

Animate Extruded Text with CSS

SirHound
3pts0
mattperry.is 5y ago

Layout projection: A method for animating browser layout at 60fps

SirHound
2pts1
mattperry.is 5y ago

What is the nullish coalescing operator?

SirHound
2pts0
mattperry.is 5y ago

Browsers May Throttle RequestAnimationFrame

SirHound
4pts1
www.framer.com 6y ago

New layout animation tools in Framer Motion 2

SirHound
16pts0
www.youtube.com 6y ago

Let's Learn Framer Motion 2

SirHound
1pts0
www.framer.com 6y ago

AnimateSharedLayout

SirHound
1pts0
www.framer.com 6y ago

AnimateSharedLayout

SirHound
1pts0
inventingwithmonster.io 6y ago

The magic inside Magic Motion

SirHound
15pts0
inventingwithmonster.github.io 6y ago

Animation Worklet: The 4 Missing Features

SirHound
1pts0
inventingwithmonster.io 6y ago

Animation Worklet: The 4 Missing Features

SirHound
1pts0
framer.com 7y ago

Framer Motion

SirHound
1pts0
www.framer.com 7y ago

Framer Motion, the successor to Pose by Popmotion, is now open source

SirHound
14pts0
mattperry.photography 8y ago

Wix vs. Squarespace: A comparison for front end developers

SirHound
2pts0
medium.com 8y ago

Googlebot is the new IE

SirHound
2pts0
popmotion.io 8y ago

Pose: A declarative motion system for HTML, SVG and React

SirHound
239pts36
medium.com 8y ago

On Slack, web standards, and bloody cynicism

SirHound
4pts0
popmotion.io 8y ago

When iOS throttles requestAnimationFrame to 30fps

SirHound
2pts0
popmotion.io 8y ago

Declaratively imposing motion constraints via functional composition

SirHound
1pts0
popmotion.io 8y ago

Show HN: Popmotion 8 is a functional, reactive motion library

SirHound
2pts0
www.reddit.com 8y ago

Why we're (slowly) migrating to Styled Components

SirHound
1pts3
github.com 8y ago

Stylefire is a CSS and SVG styler optimised for animations

SirHound
2pts0

It only knows about changes from the tool. I started this project by attempting to listen to changes from DevTools via a Mutation Observer but it was extremely noisy on many sites.

I haven't added display and visibility yet, it's on the list, but you would simply toggle them back. There is an element selector sidebar so they're not going anywhere.

Yeah I mean you can basically achieve this set up even with frameworks, if you're using stylesheets, but it's the copy/pasting and finding source code that is usually the pain. With this you just press apply (or enable auto-apply) and your agent gets to work. You can also edit the content, add/remove/reorder elements etc, I don't know how good the browser dev tools are at writing all that back though.

If you make the page small and then make some changes, it knows you're doing so in a small breakpoint. So if you have mobile-specific styles and you edit some - these are going to remain mobile specific. I am working (right this second) on a canvas mode where you can see breakpoints side by side which will make this a bit easier than physically making your screen small.

Sorry, I mean to say the agent does figure out the right place, based on your technical decisions. So if you want to use classes it isn't going to start adding style attributes. The skill contains instructions about following the existing setup within the codebase.

You can apply the token directly but of course this isn't as nice as freeform editing. I suspect the pixel value would be used because the intention probably isn't to change the root variable (as there's an explicit option for that). I'm thinking of making a token mode where we limit you to the values of available CSS variables or Tailwind classes (perhaps unless you hold shift or something)

Thanks for your feedback!

I just pushed a video to the homepage, there was already a live demo though, it was actually quite simple to implement (mostly gate a few things). There was a bit of a fear that agent somewhere out there would still be listening though...

I think a diff is an excellent idea. Perhaps with the ability to remove specific changes and switch before/after.

In terms of Tailwind, I'm thinking about a token/strict mode which would detect Tailwind classes and CSS variables. It wouldn't expose these in the sense you had to apply each one manually, but if you were for instance changing padding, it would snap between all your pre-defined tokens.

For the draw feature I think I'm just heavily Framer-pilled and it lets you pre-determine a rough width and height within a stack. But perhaps there's space for a click-to-add also with minimum dimensions.

With Figma Make, that's essentially doing the same thing as your agent, just with a visual sandbox. i.e building something from scratch.

CSS Studio leverages your existing agent - so it assumes you've already done this part. Where this comes in is when you want to design not just using chat (although it does also support chat). Drawing new elements, visual style controls, inline content editing, animation timeline editor and preview. Then once you're done you can send those changes to your agent with a click (or turn on auto-apply)

It does have some similarities with Figma's Code Layers in that you can draw a new element on the page, click chat, and tell the agent to generate x inside.