Fullscreen Centered Loading Indicator in React Root DIV | ATLASSC.NET
Skip to main content
/// .DATA.FRAGMENT_20220616

Fullscreen Centered Loading Indicator in React Root DIV

1 minAuthor: Z.SHINCHVEN

I am putting a spinning progress image in the center of the react root div as the loading progress indicator.

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Full Screen Centered Spinning</title>
    <style>
        .loading{
          display: flex;
          flex-direction: row;
          align-content: center;
          justify-content: center;
          min-height: 100vh; /* inner div to 100% screen height */
        }
    </style>
</head>
<body>
<div id="root">
    <div class="loading">
        <img alt="loading" src="images/spinner.svg" />
    </div>
</div>
</body>
</html>
RackNerd Billboard Banner
Share node:
/// .RELATED.DATA_STREAMSShared tags

Related posts

Scanning_database_for_correlations…

/// .UPLINK.SUBSCRIBE

Keep your deck synced with every new transmission from ATLASSC.NET. Subscribe over RSS or Atom, or wire the whole archive straight into your AI assistant with the MCP server.