Answer the question
In order to leave comments, you need to log in
How to translate screen to div?
There is div collapse
one in which the card is hidden. Opens by pressing a
. But since the whole thing is at the end of the page, the map simply opens down and you have to scroll to it. How to make the screen immediately centered on the map when clicked?
PS
Why a
does it look like this after clicking?
It seems to decoration
have removed everything.
<a class="yamap" data-toggle="collapse" href="#yamap">КАК НАС НАЙТИ</a>
.yamap:hover {
background-color: transparent;
text-decoration: none;
}
.yamap:visited {
text-decoration: none;
color: white;
}
.yamap:active {
text-decoration: none;
color: white;
}
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