Elektrine lite

← Feed

@blinry@chaos.social

Post #2981911

2026-02-15 16:04 UTC

As you start modifying the CSS rules, and arrive at something you like, you can switch over to the "Changes" tab to find a summary of what you changed! You can also copy all of that into your clipboard, and then integrate it into the original CSS that you're working on! Until now, I always made changes in my source CSS files directly, and used some auto-refresh tool to preview it. But this workflow of modifying it directly, and copying out the required changes might be a bit smoother!

Replies (1)

  • @blinry@chaos.social 2026-02-15 16:12

    Next, I looked at the Console. I learned that it has some predefined helper functions! You can use `$(selector)` as an abbreviation for `document.querySelector(selector)`. Similarly, `$$(selector)` is short for `document.querySelectorAll(selector)`! Even though this reeks of jQuery, I think these are fantastic in this context and I might use them *a lot*!

    Open ##2981912