• ByteJunk@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    10 days ago

    I’m guessing that someone who figured out how to keep a high score box centered on screen using assembly will figure it out to do it with CSS.

    The reverse, not so much…

    • groet@feddit.org
      link
      fedilink
      arrow-up
      5
      ·
      10 days ago

      But you dont what the code of the assembly-style centered div in your codebase. Because nobody will be able to read it and understand what it even does. There are abstraction specific ways to solve problems and the right way to do something in assembly is not the right way to do it in CSS.