4
I have a css circle and half of it is hidden. When you click on it, I want the hidden part to appear. When you click back, I want him to hide again. I made the following javascript code, the problem is: click, appear; click, hide; click again and nothing happens. I want you to keep showing up/hiding as many times as the user clicks.
$(".icone-btn").click(function() {
$(".btn-contato").css("marginTop", "-170px");
$(".icone-btn").click(function() {
$(".btn-contato").css("marginTop", "-230px");
});
});