- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Shadow Color</title>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
    <div class="light">
      <button class="btn btn1" type="button">Button</button>
    </div>
    <div class="dark">
      <button class="btn btn2" type="button">Button</button>
    </div>
  </body>
</html>
CSS
.btn1 {
  box-shadow: 0 0 5px 4px;
}
.btn2 {
  box-shadow: 0 0 5px 4px;
}
html,
body {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-family: "Tahoma", sans-serif;
}
.light {
  padding: 50px 0;
  background-color: #2c3e50;
}
.dark {
  padding: 50px 0;
}
.btn {
  display: block;
  margin: 50px auto;
  padding: 15px 20px;
  width: 150px;
  border: none;
  box-sizing: content-box;
  background-color: #3498db;
  color: yellow;
  text-align: center;
  text-transform: uppercase;
  font: inherit;
}
You’ve gone to a different page
Goalscompleted
0
- For the first button, change the shadow color towhite.
- For the second button, change the shadow color to#2c3e50.
Comments