Elektrine lite

← Feed

Johannes Odland

johannes@front-end.social

<p>Front-end engineer at NRK. <br />Been centering elements since 1996. </p><p>Pronouns: He/Him. 🏳️‍🌈🏳️‍⚧️</p>

Posts

  • Post #4310100

    Got tickets to Beyond Tellerand next year on a whim. Anyone else going?

  • Post #4310099

    Have you ever used JS to support &amp;quot;click and drag to scroll&amp;quot;? Do you think this should be supported natively by the web platform? Then you should go and give this issue a thumbs up: https://github.com/w3c/pointerevents/issues/512

  • Post #4310098

    Finally figured out how to enable smooth scrolling in @Vivaldi 🎉 Just go to Settings &amp;gt; Webpages and enable the correct checkbox. Can&amp;#39;t fathom why this is disabled as default though 👀

  • Post #4310097

    I can’t help thinking how incredibly lucky we are to exist on this planet that is just a tiny spec in the universe, inhabitable for just a brief moment in time, our existence a mere blip 🌌 And then we are busy with this? ✨pointing at the world✨

  • Post #4310096

    For our next trick, we’ll bring you angular grid lines ✨ Just kidding, but wouldn’t it be great though?

  • Post #4310095

    This post by Ollie Williams 🙌 Do we still need build tools? Yes, but hopefully they can be simpler and require less configuration in the future. https://olliewilliams.xyz/blog/no-build/

  • Post #4310094

    I just found out I can build plugins for Fusion using TypeScript. Feels like a new superpower. 🦸🏻

  • Post #2627348

    I feel I&amp;#39;m spending more time now waiting for sites to verify I&amp;#39;m human, than I ever spent waiting for images in the 90s 🤯

  • Post #2627347

    Now that we have a standardized URLPattern, I want a declarative way to use it with something like DOM Parts: ``` &amp;lt;meta name=&amp;quot;url-pattern&amp;quot; content=&amp;quot;/user/:name&amp;quot;&amp;gt; &amp;lt;h1&amp;gt;Hello {{name}}&amp;lt;/h1&amp;gt; ```

  • Post #1845380

    We have a strange issue where `height: 100svh` and `height: 100lvh` on a specific page equals the height of the whole screen, excluding navigation. (iOS Safari 26.3.1). It only happens every other time we restart the browser though. Restart the browser and everything is correct. Restart the browser again and the viewport units correspond to the full height of the screen, hiding content under navigation bars. 🤔 Anyone else experiencing the same?

  • Post #999019

    The CSSWG has resolved that the `(prefers-color-scheme)` media query reflects `&amp;lt;meta name=color-scheme&amp;gt;`. ✨🎉 Now image and videos elements can load the correct image for the color scheme of the document. Thanks @joshtumath et al for helping out with this one 🙌🙏 https://github.com/w3c/csswg-drafts/issues/13377#issuecomment-4166335486

  • Post #703337

    Have you ever needed to create a color scheme based on the users current time, or to sync an animation with the current time? I’ve been mulling about a proposal to add support for this in CSS for a while, but never gotten to the point where it was polished enough for adding. I finally decided to just add a proposal to get the discussion going. https://github.com/w3c/csswg-drafts/issues/13655