Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

161
Visualizações
Can't use two transitions for one element

I was trying to design my own personal CV website. I need to use two CSS files in my HTML file. Everything works pretty great, except one thing. I am using this Horizontal Bar Graph for my Webpage. As you can see, the graph has a slight flowing motion in it. But the problem is, my webpage also has the same transition effect, so now both of them are overlapping. This is the code which gives the transition:

.spotlights>section>.content > .inner {
  -moz-transform     : translateX(0) translateY(0);
  -webkit-transform  : translateX(0) translateY(0);
  -ms-transform      : translateX(0) translateY(0);
  transform          : translateX(0) translateY(0);
  -moz-transition    : opacity 1s ease, -moz-transform 1s ease;
  -webkit-transition : opacity 1s ease, -webkit-transform 1s ease;
  -ms-transition     : opacity 1s ease, -ms-transform 1s ease;
  transition         : opacity 1s ease, transform 1s ease;
  opacity            : 1;
} 

This is the transition used for every element which is under the <div> tag with class name inner. Now, the code shown below is the transition used for my Horizontal Bar Graph:

graph-bar {
  background-color   : #59BAC0;
  -webkit-transition : all 1s ease-out;
  -moz-transition    : all 1s ease-out;
  -o-transition      : all 1s ease-out;
  transition         : all 1s ease-out;
  border-radius      : 2px;
  cursor             : pointer;
  margin-bottom      : 10px;
  position           : relative;
  z-index            : 9999;
  display            : block;
  height             : 20px;
  width              : 0%;
}

As you can see, both of them have -webkit-transition: , -moz-transition:; , -o-transition: with different values. Due to this, both of them overlap each other, so whenever I add this Horizontal Bar Graph to my website, everything works, except the flow movement of the graph.

What should I do now in this stage? Please Help Me :(

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda