0

I have a "Read more" button on Section-e that acts weird: the margins are not responding except for left one.

GitHub Repo: https://github.com/CalogerN/Conquer

Live Preview: https://calogern.github.io/Conquer/

I tried debugging, but I found nothing.

.section-e__btn {
  align-self: flex-start;
  margin: 28px 0px 30px 20px;
  padding: 15px 30px;
  background-color: white;
  font-family: "Open Sans";
}
<div class="section-e__column1">

  <a href="#" class="section-e__btn">Read more</a>

</div>
Isaace96
  • 11
  • 5

1 Answers1

0

Use display: block or display: inline-block to set margins on the <a> tag.

Anurag Srivastava
  • 14,077
  • 4
  • 33
  • 43