Answer the question
In order to leave comments, you need to log in
Animate the element when responding to media queries. Maybe?
Hello.
There is an absolute element, for example:
#logo{
position: absolute;
z-index: 1;
display: block;
width: 53px;
height: 30px;
background: url('/static/img/logo.png') no-repeat;
opacity: 0.8;
top: 15px;
left: 20px;
}
#logo{left:0;right:0;margin-left:auto;margin-right:auto;}
Answer the question
In order to leave comments, you need to log in
put transition: all .2s ease-out; just not in the media. and in the first case
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question