Lurker News

Comments (288) 84 threads

Earlier comments
IceDane#
This just .. doesn't seem that useful compared to the normal devtools. It is also noticeably laggy, based on the demo on your site, with pop-in/FOUC. Definitely not worth $30/m for me. That pricing just seems way unrealistic compared to the value proposition. Easy pass for me.
city172 replies#
Does anyone know a good extension that just does the hover / inspect element for the CSS styles in a nice way like this app?

Seems much more convenient than diving into dev tools every time you want to quickly check an element’s property. 30/month is a bit excessive for just that one function.

kristopolous1 reply#
It's a clever idea and it's super simple

Add an event listener on the entire document.body
Get the event.target and the style and then descend to the children. Put it formatted in the clipboard.
Then do it as a bookmarklet and deregister the click handler when you're done so you can continue interacting with the site
It's probably around 12 lines of modern js.
You can add a fancy graphical outline to know what you're selecting with a few more lines. Just make sure you draw it on top and don't modify the elements. Use a css filter to make it work on all elements.
Modern tooling is pretty great.

city17#
Thanks, I was thinking of a similar solution too, but the tricky part is filtering and finding the right CSS properties to display. From my quick attempt this is a non-trivial task as there is no easy built-in way to get just the computed styles of classes on the specific element and those of its close ancestors. And even among those, not all are always relevant.
CharlesW#
> Does anyone know a good extension that just does the hover / inspect element for the CSS styles in a nice way like this app?

I think the same person makes CSS Scan ($95 lifetime): https://getcssscan.com/

xkcd1963#
I've been working with CSS for a while now and most time spent is on:

- tackling of inconsistent browser behaviour and bugs on top of cross-browser compatibility
- RWD
- pixel perfect implementation of designs
- extending or replacing native input elements
And very little of it has to do with color gradient selectors or pixel to em conversion.

zestyping#
I don't understand how classes work in this tool.

It looks like you can only edit styles on individual elements.
I can see classes, but I don't see a way to change the class of an element, or to change the CSS properties of a class. I even tried applying different changes to the same class — larger font for one element, smaller font for another element with the same class — and CSS Pro is happy to give me contradicting CSS rules.
Example: https://imgur.com/a/qT1y95T
CSS with a separate rule for every element is unworkable. How is the exported CSS supposed to work?

Load more comments