Buttons


#1

I dont know how to make the buttons "learn More" black with white text


#2

Did you already figure this out? I just built a button around the link. I took off the text decoration and made the button (meaning the text) white. Then I made the background-color black.


#4

Hi. You must add into html code new div class - btn (check witch classes do you have in css code. There you can find it. btn) Then style it in css...


#5

your comment did not tell us how and what you did to do it
its not very helpful


#6

Try this.

HTML:

<div class="btn">
Learn More
</div>

CSS:

.btn {
background-color: #000;
color: #FFF;
}


#7

*HTML

<a class = btn href ="#">Learn More</a>

*CSS

.btn {
  border: 1px solid black;
  background-color: black;
  color: white;
  text-decoration: none;
  padding: 10px 40px;
}

:slight_smile: