A
A
Alisa712021-07-12 17:18:23
JavaScript
Alisa71, 2021-07-12 17:18:23

How to remove button border after showing content?

Good afternoon. There is a block with a Load More button. The button works well. But after showing the content, there is such a border from the button. How to remove it? Tell me please. Implemented in jquery. I'm not familiar with jquery.
here is the code

function closeNav() {
    document.getElementById("mySidenav").style.width = "0";
}
$(document).ready(function(){
  $("#loadMore").on("click", function(e){
    e.preventDefault();
    $(".content:hidden").slice(0, 4).slideDown();
    if($(".content:hidden").length === 0) {
      $("#loadMore").text("").addClass("noContent");
    }
  });
  
});

button before showing content
60ec4f2bd828a292460498.png
and button after showing content
60ec4f0da51a2307604226.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question