How Facebook built their fancy content placeholder(

over 6 years ago from George Phillips, CTO at Cloud Cannon

  • Sam MularczykSam Mularczyk, over 6 years ago

    Why not just use an SVG in place of the divs? Cleaner and easily compressed, cached and loaded by most modern browsers. Seems like a good alternative.

    1 point
    • Mason LawlorMason Lawlor, over 6 years ago

      Correct me if I'm wrong, but isn't pure CSS faster (or at least equal) to SVG load times?

      1 point
      • Sam MularczykSam Mularczyk, over 6 years ago (edited over 6 years ago )

        Nope, I think you're right. Personally I feel it would make the code a lot cleaner & more semantic... and maybe reduce load times if used on a larger scale?

        That's if heavy caching is enabled, of course

        0 points