E
E
ErkRain2018-04-08 09:09:31
HTML
ErkRain, 2018-04-08 09:09:31

How to expand the click area of ​​a button?

It's just that I only press the text on the button, but the button itself does not. Here is an example (not advertising) Site made by Ucoz

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Kvartsov, 2018-04-08
@kolesov_prod

Change the site styles:
For the .content-list li selector, remove the padding property: 2% 10%
And the .content-list li a selector should be made like this:

.content-list li a {
    display: block;
    padding: 2% 10%;
    color: #777;
}

O
Oleg, 2018-04-08
@politon

a{padding}

E
eLig, 2018-04-08
@eLig

.content-list li remove padding: 2% 10%;
.content-list li a add padding: 2% 10%;
Replace .content-list li:after with .content-list li a:after

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question