Advertisement
NubeColectiva

Logo de React Animado con Puro CSS

May 31st, 2025
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.46 KB | Source Code | 0 0
  1. <!DOCTYPE html>
  2. <html lang="es">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <title>Logo de React Animado con Puro CSS</title>
  7.     <style>
  8.         body {
  9.             margin: 0;
  10.             height: 100vh;
  11.             display: flex;
  12.             justify-content: center;
  13.             align-items: center;
  14.             background: #282C33;
  15.         }
  16.  
  17.         .logo {
  18.             width: 10rem;
  19.             height: 10rem;
  20.             display: flex;
  21.             justify-content: center;
  22.             align-items: center;
  23.             animation: spin 8.2s linear infinite;
  24.             position: relative;
  25.         }
  26.  
  27.         .rl, .rl-3 {
  28.             position: absolute;
  29.             border-radius: 50%;
  30.         }
  31.  
  32.         .rl {
  33.             width: 11rem;
  34.             height: 4rem;
  35.             border: .45rem solid #55DBF8;
  36.             border-radius: 250%;
  37.         }
  38.  
  39.         .rl-1 { transform: rotate(60deg); }
  40.         .rl-2 { transform: rotate(-60deg); }
  41.  
  42.         .rl-3 {
  43.             width: 2.2rem;
  44.             height: 2.2rem;
  45.             background: #55DBF8;
  46.         }
  47.  
  48.         @keyframes spin {
  49.             to { transform:rotate(360deg); }
  50.         }
  51.     </style>  
  52. </head>
  53. <body>
  54.    
  55.     <div class="logo">
  56.         <div class="rl rl-0"></div>
  57.         <div class="rl rl-1"></div>
  58.         <div class="rl rl-2"></div>
  59.         <div class="rl-3"></div>
  60.     </div>
  61.    
  62. </body>
  63. </html>
Tags: html CSS react
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement