N
N
Norwood2019-12-07 00:29:47
PHP
Norwood, 2019-12-07 00:29:47

Why does the underline on a link shrink?

Underline at the top of the link 2px. On the site, it works like this: when hovering, the underline on top is 2px and immediately shrinks to 1px. From below, there is no such problem. Here is an example of code, but apparently it's in the bootstrap. Everything works fine on fiddle.
poke

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
kr_ilya, 2019-01-03
@kr_ilya

Be sure to use PHP PDO ( Material 1 , Material 2 )
And, of course, to escape.
UPD:
Or even get rid of unnecessary characters in cases where they are not needed. (For example, when only an integer is written to the base, use intval() );

Z
Zubekas, 2019-01-04
@Zubekas

It is in mysql that the easiest way to make an injection, do not listen to these "smart" who offer it. Mysqli, like PDO, supports prepare statements that filter inputs. Casting to type (intval) is good practice, and there is a mysqli_escape_string function that escapes the query

J
Jack Williams, 2019-12-07
@Norwood

Here, I did it without transform https://jsfiddle.net/gkapn8L1/1/ and everything works fine. Try to avoid transform whenever possible. There I made the animation not the same as yours, but you get the point.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question