Elektrine lite

← Feed

@bramus@front-end.social

2026-07-01 13:49 UTC

@anatudor@mastodon.social 👋 Hi Ana, it’s me … I can assure you no AI wrote it, because I wrote the guide. Maybe some things need to be clarified here: 1. Modern CSS: Would you say that SDA is not modern? Not sure I’m following here. 2. Code Contradicting Guidance: The code listed in the guide focuses on the core of the functionality, so yeah the things like the feature detection are not included in the mentioned snippets. [1/x]

Replies (1)

  • @bramus@front-end.social 2026-07-01 13:50

    @anatudor@mastodon.social The Best Practices section that follows first lists BPs that apply to SDA in general (you can see it repeated in the other guides). So it could be that not all BPs can be taken into account for that use-case specifically (e.g. avoiding to animate `width` for this use-case) The BPs then list best practices for `scroll()`, followed by BPs that apply to that use-case specifically. [2/x]

    Open ##5074237