K
K
keche2018-02-21 14:04:51
css
keche, 2018-02-21 14:04:51

How to make SlideToggle display - block?

The following code shows when you click on two link blocks of the menu block. However, it sets the display:inline-block property on the page - which is not suitable, you need to set the display: block value.
How to do it?

$('.category-go, .category').click(function() {

      $('.menu a').slideToggle(300);

    });

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kreotech, 2018-02-21
@keche

You just need to set the appropriate rule in css:
https://jsfiddle.net/kreoTech/rdqy651g/4/
Click on the first paragraph

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question