Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <h1>Animacion 100% CSS vs GIF</h1>
<p>Este pen es un intento por reproducir un gif que hice hace tiempo (aún esta en desarrollo)</p>
<h3>El gif esta a la derecha</h3>

<div class="telefono">
  <div class="display">
    
    <div class="barra-top">
      <span class="btn-menu">
        <b class="icon"></b>
      </span>
    </div>
    
    <ul class="lista-btns">
      <li class="btn"></li>
      <li class="btn"></li>
      <li class="btn"></li>
      <li class="btn"></li>
      <li class="btn"></li>
    </ul>    
    
    <section class="loggin">
      <span class="tres-logo"></span>
      <span class="input1"></span>
      <span class="input2"></span>
      <span class="btn"></span>
    </section>
    
    <section class="articulos">
      <article>
        <span class="titulo"></span><span class="parrafo"></span>
      </article>
      <article>
        <span class="titulo"></span><span class="parrafo"></span>
      </article>
      <article>
        <span class="titulo"></span><span class="parrafo"></span>
      </article>
      <span class="barra-footer"></span>
    </section>
    
  </div><!--display-->
</div><!--telefono-->

<div class="telefono gif">
  <div class="display">
    
  </div><!--display-->
</div><!--telefono gif-->
              
            
!

CSS

              
                /*///////////////////////////
$telefono
////////////////////////////*/

.telefono
{
  background: transparent;
  display: inline-block;
  vertical-align: top;
  width: 10rem;
  height: 20rem;
  margin: 1% auto;
  border: solid rgb(250,250,250);
  border-width: 2rem 0.5rem;
  border-radius: 1rem;
  position: relative;
  transform: scale(1);
}

.telefono, 
.telefono *,
.telefono *::after,
.telefono *::before
{  
  will-change: transform;
  transition: all ease .5s; 
  animation: 
    20s ease 2s infinite;
}

.telefono span,
.telefono *::after,
.telefono *::before
{  
  display: inline-block;
}

/*$camara y boton logo*/

.telefono::before,
.telefono::after
{
  content: '';
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.telefono::before
{
  top: -8%;  
  background: rgb(102,102,102);
  border-radius: 50%;
  width: 5%;
  height: 2.8%;
}

.telefono::after
{
  bottom: -8%; 
  border-radius: 50%;
  width: 10%;
  height: 6%; 
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-image:    url('http://g3k.co/proyectos/portafolio/img/svg/icono-apagar.svg');
}

/*$fondo de pantalla*/

.telefono .display
{
  width: 100%;
  height: 100%;  
  position: relative;
  overflow: hidden;
  background-color: rgba(255,255,255,.1);
  background-size: 130% 200%, 150% 150%;
  will-change: transform, background;
  background-position: 50% 40%, 50% 50%, 50% -100%;
  background-repeat: no-repeat;
  background-image:     url('http://g3k.co/proyectos/portafolio/img/svg/grafismo.svg'),    
    radial-gradient(ellipse 
      at center,
      rgba(0,144,255,0.3) 0%,
      rgba(0,51,102,0.8) 100%),
    radial-gradient(ellipse 
      at center, 
      rgba(0,217,255,0.2) 0%, 
      rgba(0,196,255,0.3) 30%, 
      rgba(0,112,173,0.5) 100%);
  animation-name: display;
}

/*====================
$Interfaz
======================*/

.telefono .barra-top
{
  transform: translateY(-100%);
  animation-name: barra-top;
  top: 0;
  position: relative;
}

.telefono .barra-top,
.telefono .barra-footer
{
  width: 101%;
  height: 7%;
  left: -0.1rem;
  text-align: left;
  z-index: 50;
  background-color: transparent;
  background-size: 120% 450%;
  background-position: center;
  background-image: 
    radial-gradient(ellipse 
      at center, 
      rgba(13,56,96,.3) 0%,
      rgba(13,56,96,.99) 90%); 
}


.telefono .barra-footer
{
  position: absolute;
}

/*$btn menu*/

.telefono .btn-menu
{
  width: 18%;
  height: 130%;
  position: absolute;
  top: 0%;
  left: 0%;
  background-color: rgb(0,200,200);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(78%);
  will-change: background, transform;
  animation-name: btn-menu;
}

.telefono .btn-menu::after
{
  content: '';
  position: relative;
  top: 0%;
  left: 100%;
  height: 100%;
  width: 0%;
  border: solid transparent;
  border-width: 0 0 0.3rem 0.3rem;
  border-left-color: rgb(0,200,200);
  will-change: border, transform;  
  animation-name: btn-menu-after;
}

/*$icono btn menu*/

.telefono .btn-menu .icon
{
  background-color: white;
  position: absolute;
  top: 43%;
  left: 30%;
  width: 60%;
  height: 9%;
  display: block;
  will-change: background, transform;  
  animation-name: btn-menu-icon;
}

.telefono .btn-menu .icon::before,
.telefono .btn-menu .icon::after
{
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  background: white;
  will-change: transform;
}

.telefono .btn-menu .icon::before
{
  transform: translateY(-200%) rotate(0);
  will-change: transform;  
  animation-name: menu-icon-before;
}

.telefono .btn-menu .icon::after
{
  transform: translateY(200%) rotate(0);
  will-change: transform;
  animation-name: menu-icon-after;
}

/*$contenedor menu*/

.telefono .lista-btns
{
  width: 60%;
  height: 100%;
  position: absolute;
  top: 0;
  background-color: rgba(13,56,96,.7);
  padding-top: 22%;
  transform: translateX(-100%);
  z-index: 40;
  will-change: transform;
  animation-name: lista-btns;
}

/*$botones*/

.telefono ul .btn
{
  width: 75%;
  list-style: none;
  margin: 10% auto;
  height: 5%;
  background-color: rgb(32,178,170);
  border: solid transparent 0.4rem;
  border-left-color: white;
}

.telefono ul .btn:nth-child(1)
{ animation-name: item1; }

.telefono ul .btn:nth-child(2)
{ animation-name: item2; }

.telefono ul .btn:nth-child(3)
{ animation-name: item3; }

.telefono ul .btn:nth-child(4)
{ animation-name: item4; }

.telefono ul .btn:nth-child(5)
{ animation-name: item5; }

.telefono ul .btn:nth-child(6)
{ animation-name: item6; }

/*====================
$login
======================*/

.telefono .loggin
{
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  padding: 20% 0 0 13%;
  text-align: left;
  transform: translateX(0%);
  will-change: transform;
  animation-name: loggin;
}

/*$icono 3*/

.telefono .tres-logo
{
  height: 45%;
  width: 45%;
  background-color: ;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('http://g3k.co/proyectos/portafolio/img/svg/icono-tres-logo.svg');
  transform: 
    scaleX(0.95)
    scaleY(1);
  margin-bottom: -5%;
}

/*inputs y btn*/

.telefono .loggin span:not(.tres-logo)
{
  display: block;
  height: 8%;
  margin: 3% 0;
}

.telefono span[class*="input"]
{
  width: 48%;
  background-color: whitesmoke;
}

.telefono .loggin span.btn
{  
  width: 20%;
  margin-top: 7%;
  background-color: rgb(32,178,170);
  will-change: transform;
  animation-name: loggin-input;
}

/*esquinas triangulares*/

.telefono .loggin [class*="input"]::after,
.telefono .loggin .btn::after
{
  content: '';
  width: 0.5rem;
  height: 100%;
  border-style: solid;
  border-color: transparent;
  border-width: 0 0.6rem 1rem;
  position: relative;
  left: 100%;
}

.telefono .loggin span[class*="input"]::after
{
  border-left-color: whitesmoke;
}

.telefono .loggin .input1::after
{
  border-width: 1rem 0.6rem 0;
}

.telefono .loggin .btn::after
{
  border-left-color:  rgb(32,178,170);
  animation-name: loggin-input-borde;
}

/*====================
$articulos
======================*/

.telefono .articulos
{
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  padding: 20% 17% 0 15%;
  transform: translateY(100%);
  will-change: transform;
  animation-name: articulos;
}

/*$articulos*/

.telefono article
{
  width: 100%;
  height: 35%;
  margin: 12% 0;
  text-align: left;
  transform: translateY(280%);
  will-change: transform;
}

.telefono article:nth-child(1)
{
  animation-name: article1;
}

.telefono article:nth-child(2)
{
  animation-name: article2;
}

.telefono article:nth-child(3)
{
  animation-name: article3;
}

/*$titulo*/

.telefono .titulo
{
  width: 55%;
  height: 20%;
  background-color: rgb(32,178,170);
}

.telefono .titulo::after
{
  content: '';
  width: 0.5rem;
  height: 100%;
  border-style: solid;
  border-color: transparent;
  border-width: 0 0.6rem 1rem;
  position: relative;
  left: 100%;
  border-left-color:  rgb(32,178,170);
}

/*$parrafo*/

.telefono .parrafo
{
  background: white;
  width: 100%;
  height: 70%;
  margin-top: 5%;
}




@keyframes loggin-input
{
    5%{background-color:
      rgb(32,178,170);}
    6%{background-color: 
      rgb(0,255,170);}
    7%{background-color: 
      rgb(0,255,170);}
    8%{background-color:
      rgb(32,178,170);}
    9%{background-color:
      rgb(32,178,170);}
    10%{background-color: 
      rgb(0,255,170);}
    11%{background-color: 
      rgb(0,255,170);}
    12%{background-color:
      rgb(32,178,170);}
}

@keyframes loggin-input-borde
{
    5%{border-left-color: 
      rgb(32,178,170);}
    6%{border-left-color: 
      rgb(0,255,170);}
    7%{border-left-color:  
      rgb(0,255,170);}
    8%{border-left-color: 
      rgb(32,178,170);}
    9%{border-left-color: 
      rgb(32,178,170);}
    10%{border-left-color: 
      rgb(0,255,170);}
    11%{border-left-color: 
      rgb(0,255,170);}
    12%{border-left-color: 
      rgb(32,178,170);}
}

@keyframes loggin
{
  13%{transform: 
      translateX(0%);}
  14%{transform: 
      translateX(5%);}
  15%{transform: 
      translateX(5%);}
  16%{transform: 
      translateX(-65%);}
  17%{transform: 
      translateX(-50%);}  
  18%{transform: 
      translateX(-65%);}
  /*anima 2*/    
  97%{transform: 
      translateX(-65%);}
  98%{transform: 
      translateX(-50%);}
  99%{transform: 
      translateX(5%);} 
  /*anima3*/
  100%{transform: 
      translateX(0%);}
}

@keyframes display
{
  19%{background-position: 
    50% 40%, 50% 50%, 50% -100%;    
  }
  20%{background-position: 
    50% 40%, 50% 50%, 50% 50%;  
  }   
  /*anima2*/
  96%{background-position: 
    50% 40%, 50% 50%, 50% 50%;  
  }
  97%{background-position: 
    50% 40%, 50% 50%, 50% -100%;  
  }  
  /*anima3*/
  100%{background-position: 
    50% 40%, 50% 50%, 50% -100%;  
  }
}

@keyframes barra-top
{
  22%{transform:
    translateY(-100%) scaleY(1);  
  }  
  23%{transform:
    translateY(10%) scaleY(1.2);  
  }  
  24%{transform:
    translateY(-5%) scaleY(1);  
  }  
  25%{transform:
    translateY(0%)
  }  
  /*anima2*/   
  97%{transform:
    translateY(0%)
  }  
  98%{transform:
    translateY(10%) scaleY(1.2);  
  }  
  99%{transform:
    translateY(-100%) scaleY(1);  
  }  
  /*anima3*/
  100%{transform:
    translateY(-100%) scaleY(1);  
  }
}

@keyframes btn-menu
{
  22%{transform: translateY(78%);  
  }  
  23%{transform: translateY(0%);  
  }  
  24%{transform: translateY(0%)
  }  
  /*anima2*/   
  40%{background-color:
    rgb(0,200,200);
  }    
  41%{background-color:
    rgb(0,255,200);
  }     
  42%{background-color:
    rgb(0,200,200);
  }      
  43%{background-color:
    rgb(0,255,200);
  }        
  44%{background-color:
    rgb(0,200,200);
  }
  45%{background-color:
    rgb(0,200,200);
  } 
  /*anima3*/    
  66%{background-color:
    rgb(0,200,200);
  }    
  67%{background-color:
    rgb(0,255,200);
  }     
  68%{background-color:
    rgb(0,200,200);
  }      
  69%{background-color:
    rgb(0,255,200);
  }        
  70%{background-color:
    rgb(0,200,200);
  }
  71%{background-color:
    rgb(0,200,200);
  }  
  /*anima4*/ 
  98%{transform: 
    translateY(0%);  
  }  
  99%{transform: 
    translateY(78%)
  }   
  /*anima5*/   
  100%{transform:
    translateY(78%);  
  }
}

@keyframes btn-menu-after
{
  40%{border-left-color:
    rgb(0,200,200);
  }    
  41%{border-left-color:
    rgb(0,255,200);
  }     
  42%{border-left-color:
    rgb(0,200,200);
  }      
  43%{border-left-color:
    rgb(0,255,200);
  }        
  44%{border-left-color:
    rgb(0,200,200);
  }
  45%{border-left-color:
    rgb(0,200,200);
  } 
  /*anima2*/  
  66%{border-left-color:
    rgb(0,200,200);
  }    
  67%{border-left-color:
    rgb(0,255,200);
  }     
  68%{border-left-color:
    rgb(0,200,200);
  }      
  69%{border-left-color:
    rgb(0,255,200);
  }        
  70%{border-left-color:
    rgb(0,200,200);
  }
  71%{border-left-color:
    rgb(0,200,200);
  }
}

@keyframes articulos
{
  27%{transform: translateY(100%);  
  }  
  28%{transform: translateY(0%); 
  }  
  /*anima2*/   
  35%{transform: translateY(0%);  
  }  
  38%{transform: translateY(-29%);  
  }   
  /*anima3*/
  87%{transform: translateY(-29%); 
  } 
  88%{transform: translateY(0%); 
  } 
  /*anima4*/
  100%{transform: translateY(0%);  
  }
}

@keyframes article1
{
  29%{transform: translateY(280%);  
  }  
  30%{transform: translateY(-10%);  
  }  
  31%{transform: translateY(5%);  
  }  
  32%{transform: translateY(0%);  
  }  
  /*anima2*/   
  88%{transform: 
    translateX(0);}
  89%{transform: 
    translateX(20%);}
  90%{transform: 
    translateX(-150%);}
  91%{transform: 
    translateX(-110%);}
  92%{transform: 
    translateX(-150%);}
  /*anima3*/   
  100%{transform:
    translateY(0)
    translateX(-150%);  
  }
}

@keyframes article2
{
  30%{transform: translateY(280%);  
  }  
  31%{transform: translateY(-10%);  
  }  
  32%{transform: translateY(5%);  
  }  
  33%{transform: translateY(0%);  
  }   
  /*anima2*/   
  89%{transform: 
    translateX(0);}
  90%{transform: 
    translateX(20%);}
  91%{transform: 
    translateX(-150%);}
  92%{transform: 
    translateX(-110%);}
  93%{transform: 
    translateX(-150%);}
  /*anima3*/   
  100%{transform:
    translateY(0)
    translateX(-150%);  
  }
}

@keyframes article3
{
  31%{transform: translateY(280%);  
  }  
  32%{transform: translateY(-10%);  
  }  
  33%{transform: translateY(5%);  
  }  
  34%{transform: translateY(0%);  
  }   
  /*anima2*/   
  90%{transform: 
    translateX(0);}
  91%{transform: 
    translateX(20%);}
  92%{transform: 
    translateX(-150%);}
  93%{transform: 
    translateX(-110%);}
  94%{transform: 
    translateX(-150%);}
  /*anima3*/   
  100%{transform:
    translateY(0)
    translateX(-150%);  
  }
}

@keyframes lista-btns
{
  46%{transform:
    translateX(-100%);  
  }  
  47%{transform: translateX(0%);  
  }  
  48%{transform: translateX(-5%);  
  }  
  49%{transform: translateX(0%);  
  }  
  /*anima2*/ 
  82%{transform:
    translateX(0%);  
  }  
  83%{transform: 
    translateX(-5%);  
  }  
  84%{transform: 
    translateX(0%);  
  }  
  85%{transform: 
    translateX(-100%);  
  }   
  /*anima3*/   
  100%{transform:
    translateX(-100%);  
  }
}

@keyframes btn-menu-icon
{
  45%{background-color: 
    rgba(255,255,255,1);
  } 
  46%{background-color: 
    rgba(255,255,255,0);
  } 
  /*anima2*/
  72%{background-color: 
    rgba(255,255,255,0);
  } 
  73%{background-color: 
    rgba(255,255,255,1);
  }   
  /*anima3*/
  100%{background-color: 
    rgba(255,255,255,1);
  } 
}

@keyframes menu-icon-before
{
  45%{transform: 
    translateY(-200%) 
    rotate(0deg);
  } 
  46%{transform: 
    translateY(0%) 
    rotate(45deg);
  } 
  /*anima2*/   
  72%{transform: 
    translateY(0%) 
    rotate(45deg);
  } 
  73%{transform: 
    translateY(-200%) 
    rotate(0deg);
  } 
  /*anima3*/ 
  100%{transform: 
    translateY(-200%) 
    rotate(0deg);
  } 
}

@keyframes menu-icon-after
{
  45%{transform: 
    translateY(200%) 
    rotate(0deg);
  } 
  46%{transform: 
    translateY(0%) 
    rotate(-45deg);
  } 
  /*anima2*/ 
  72%{transform: 
    translateY(0%) 
    rotate(-45deg);
  }    
  73%{transform: 
    translateY(200%) 
    rotate(0deg);
  }  
  /*anima3*/ 
  100%{transform: 
    translateY(200%) 
    rotate(0deg);
  } 
}

@keyframes item1
{
  0%{transform: 
    translateX(-150%);
  } 
  50%{transform: 
    translateX(-150%);
  } 
  51%{transform: 
    translateX(15%);
  } 
  52%{transform: 
    translateX(-10%);
  } 
  53%{transform: 
    translateX(0%);
  } 
  /*anima2*/ 
  57%{background-color:
    rgb(32,178,170);
  }    
  58%{background-color:
    rgb(0,255,200);
  }
  60%{background-color:
    rgb(32,178,170);
  }   
  /*anima3*/   
  73%{transform: 
    translateX(0%);
  } 
  74%{transform: 
    translateX(-10%);
  } 
  75%{transform: 
    translateX(15%);
  } 
  76%{transform: 
    translateX(-150%);
  } 
  77%{transform: 
    translateX(-150%);
  } 
  /*anima4*/    
  100%{transform: 
    translateX(-150%);
  } 
}

@keyframes item2
{
  0%{transform: 
    translateX(-150%);
  } 
  51%{transform: 
    translateX(-150%);
  } 
  52%{transform: 
    translateX(15%);
  } 
  53%{transform: 
    translateX(-10%);
  } 
  54%{transform: 
    translateX(0%);
  } 
  /*anima2*/ 
  58%{background-color:
    rgb(32,178,170);
  }    
  59%{background-color:
    rgb(0,255,200);
  }
  61%{background-color:
    rgb(32,178,170);
  } 
  /*anima3*/   
  74%{transform: 
    translateX(0%);
  } 
  75%{transform: 
    translateX(-10%);
  } 
  76%{transform: 
    translateX(15%);
  } 
  77%{transform: 
    translateX(-150%);
  } 
  78%{transform: 
    translateX(-150%);
  } 
  /*anima4*/    
  100%{transform: 
    translateX(-150%);
  } 
}

@keyframes item3
{
  0%{transform: 
    translateX(-150%);
  } 
  52%{transform: 
    translateX(-150%);
  } 
  53%{transform: 
    translateX(15%);
  } 
  54%{transform: 
    translateX(-10%);
  } 
  55%{transform: 
    translateX(0%);
  } 
  /*anima2*/ 
  59%{background-color:
    rgb(32,178,170);
  }    
  60%{background-color:
    rgb(0,255,200);
  }
  62%{background-color:
    rgb(32,178,170);
  } 
  /*anima3*/   
  75%{transform: 
    translateX(0%);
  } 
  76%{transform: 
    translateX(-10%);
  } 
  77%{transform: 
    translateX(15%);
  } 
  78%{transform: 
    translateX(-150%);
  } 
  79%{transform: 
    translateX(-150%);
  } 
  /*anima4*/    
  100%{transform: 
    translateX(-150%);
  } 
}

@keyframes item4
{
  0%{transform: 
    translateX(-150%);
  } 
  53%{transform: 
    translateX(-150%);
  } 
  54%{transform: 
    translateX(15%);
  } 
  55%{transform: 
    translateX(-10%);
  } 
  56%{transform: 
    translateX(0%);
  } 
  /*anima2*/ 
  60%{background-color:
    rgb(32,178,170);
  }    
  61%{background-color:
    rgb(0,255,200);
  } 
  63%{background-color:
    rgb(32,178,170);
  }  
  /*anima3*/   
  76%{transform: 
    translateX(0%);
  } 
  77%{transform: 
    translateX(-10%);
  } 
  78%{transform: 
    translateX(15%);
  } 
  79%{transform: 
    translateX(-150%);
  } 
  80%{transform: 
    translateX(-150%);
  } 
  /*anima4*/    
  100%{transform: 
    translateX(-150%);
  } 
}

@keyframes item5
{
  0%{transform: 
    translateX(-150%);
  } 
  54%{transform: 
    translateX(-150%);
  } 
  55%{transform: 
    translateX(15%);
  } 
  56%{transform: 
    translateX(-10%);
  } 
  57%{transform: 
    translateX(0%);
  }
  /*anima2*/ 
  61%{background-color:
    rgb(32,178,170);
  }    
  62%{background-color:
    rgb(0,255,200);
  }  
  64%{background-color:
    rgb(32,178,170);
  }  
  /*anima3*/   
  77%{transform: 
    translateX(0%);
  } 
  78%{transform: 
    translateX(-10%);
  } 
  79%{transform: 
    translateX(15%);
  } 
  80%{transform: 
    translateX(-150%);
  } 
  81%{transform: 
    translateX(-150%);
  } 
  /*anima4*/    
  100%{transform: 
    translateX(-150%);
  } 
}

{}
























/*Estilos meramente decorativos*/

*{ padding: 0; margin: 0}
*,*::after,*::before{box-sizing:border-box;}

html, body
{
  background: rgb(0,75,141) ;
  font-family: 'tahoma', sans-serif;
  font-size: 16px;
  color: white;
  text-align: center;
  animation: colores ease 40s infinite;
}

.enlace:link, .enlace:visited
{
  display: block;
  color: white;
  padding: 1%;
}

.gif .display
{
  background-image: url('http://img.gutierrezedgar.com/i/cellphone.gif');
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
}

h1, h3, p{margin: 0.2rem auto;}
h3{margin-bottom:1rem;}

@keyframes colores
{
  0%{background: 
    rgb(0,75,141);}    
  20%{background: 
    rgb(13,55,96);}   
  40%{background: 
    rgb(32,178,170);}   
  60%{background: 
    rgb(100,0,175);}   
  80%{background: 
    rgb(235,174,24);}   
  100%{background: 
    rgb(0,75,141);}
}
              
            
!

JS

              
                /*
rgb(0,75,141) - azul_2
rgb(13,56,96) - azul_1
rgb(30,144,255) - azul_3
rgb(32,178,170) - verde aqua
*//*

radial-gradient(ellipse at center, rgba(0,140,255,0.5) 0%, rgba(0,93,175,1) 100%)*/
              
            
!
999px

Console