<button class="works_button">메뉴 버튼</button>
body {
  text-align: center;
}

.works_button {
  display: inline-block;
  width: 150px;
  height: 45px;
  border: none;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(to bottom, #a8c461, #36cd9c);
  position: relative;
  overflow: hidden;
}

.works_button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.works_button:hover::before {
  transform: translateY(0);
}
  
.works_button:hover {
  background: linear-gradient(to bottom, #36cd9c, #a8c461);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.