There is a link button . It has a pushing effect, the button by 3 pixels moves down when pressed. The problem is that if you press the bottom of the bookmark (the shadow of the button’s internal block), the transition to the page does not work. This problem is in Safari, Firefox. Perhaps in other browsers. What can it be and how can it be fixed?
HTML:
<a class="download_button_block js-send_btn" href="http://google.com/"> <span class="download_button"> <span class="icon"> <span class="arrow"></span> </span> <span class="text">Скачать видеоуроки</span> </span> </a> CSS:
.download_button_block { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; display: block; margin: 0 auto; width: 100%; max-width: 476px; height: 88px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; outline: none; } .download_button { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; display: block; float: left; padding: 0; width: 100%; height: 85px; border: none; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; background: #f7c62f; -webkit-box-shadow: 0 3px 0 0 #b26303, 0 0 0 1px #ffba56 inset; -moz-box-shadow: 0 3px 0 0 #b26303, 0 0 0 1px #ffba56 inset; box-shadow: 0 3px 0 0 #b26303, 0 0 0 1px #ffba56 inset; cursor: pointer; -webkit-text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -moz-text-shadow: 1px 1px 0 rgba(255,255,255,0.3); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); outline: none; -webkit-appearance: none; -webkit-animation: shadow 1.5s infinite ease-in-out; animation: shadow 1.5s infinite ease-in-out; } .download_button:hover { background: #fed146; } .download_button_block:active .download_button { margin: 3px 0 0 0; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } .download_button .icon { display: block; float: left; margin: 11px 0 0 0; width: 75px; height: 63px; border-right: 1px solid #d69517; background: url(../images/download_button__icon.png) 29px center no-repeat; position: relative; } .download_button .arrow { display: block; width: 20px; height: 19px; background: url(../images/download_button__arrow.png) center no-repeat; position: absolute; top: 14px; left: 29px; -webkit-animation: arrow 1.5s infinite ease-in-out; animation: arrow 1.5s infinite ease-in-out; } .download_button .text { display: block; float: left; width: calc(100% - 76px); font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 24px; line-height: 85px; color: #000; text-align: center; text-transform: uppercase; }