Answer the question
In order to leave comments, you need to log in
How to remove the initial animation?
Guys, I made animation with css using transition. Here is html
<div class='euraziabutton'><nav>Евразия</nav></div>
div {
-webkit-transition: background-color .5s ease-in-out;
-moz-transition: background-color .5s ease-in-out;
-o-transition: background-color .5s ease-in-out;
transition: background-color .5s ease-in-out;
}
.euraziabutton {
width: 20%;
height: 80px;
background: #5863e0;
margin-left: 20%;
position: absolute;
border-right: 3px solid orange;
border-left: 1px solid #5863e0;
border-top: 1px solid #5863e0;
border-top-left-radius: 50px;
text-align: center;
padding-bottom: 30px;
}
.euraziabutton:hover {
background-color: #757DE1;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question