- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Feathering + Stretch</title>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
    <button class="btn btn1" type="button">Button 1</button>
    <button class="btn btn2" type="button">Button 2</button>
    <button class="btn btn3" type="button">Button 3</button>
    <button class="btn btn4" type="button">Button 4</button>
  </body>
</html>
CSS
.btn1 {
  box-shadow: 0 0 0 0 #34495e;
}
.btn2 {
  box-shadow: 0 0 0 0 #34495e;
}
.btn3 {
  box-shadow: 0 0 0 0 #34495e;
}
.btn4 {
  box-shadow: 0 0 0 0 #34495e;
}
body {
  background-image: url("bg.jpg");
  font-size: 18px;
  font-family: "Tahoma", sans-serif;
}
.btn {
  display: block;
  margin: 50px auto;
  padding: 15px 20px;
  width: 150px;
  border: none;
  box-sizing: content-box;
  background-color: #3498db;
  color: white;
  text-align: center;
  text-transform: uppercase;
  font: inherit;
}
You’ve gone to a different page
Goalscompleted
0
- Give the first button feathering of 6pxand stretch of-2px.
- Assign the second button feathering of 6px.
- Give the third button feathering of 6pxand stretch of3px.
- And finally give the fourth button feathering of 3pxand stretch of6px.
Comments