Button with hover effect

PHOTO EMBED

Mon Oct 18 2021 22:06:46 GMT+0000 (UTC)

Saved by @rook12 #css

.buy-now {
  box-sizing: border-box;
  font-size: 1.1rem;
  border: 2px solid #eb2633;
  background-color: #eb2633;
  color: white;
  padding: 0.6rem 1rem;
  text-decoration: none;
  margin: 2rem 0 0;
  display: block;
  width: fit-content;
  border-radius: 5px;
  transition: 100ms ease-in-out;
}

.buy-now:hover {
  background-color: transparent;
  color: black;
}
content_copyCOPY