Harika Bir Düğme Css3 ile Fareyle

In this example below you will see how to do a Harika Bir Düğme Css3 ile Fareyle with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by salihDemircan, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright salihDemircan ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Harika Bir Düğme Css3 ile Fareyle</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div id="button">Asağı Gel :)</div>

<div id="button2">Yukarı Gel :)</div>

<div id="button3">Sağa Git :)</div>

<div id="button4">Sola Git :)</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/salihDemircan/harika-bir-dandxfcandx11fme-css3-ile-fareyle-WOYVLg */
#button {
  border: 2px solid #2980b9;
  display: inline-block;
  padding: 20px 30px;
  font-size: 25px;
  color: #2980b9;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Arial";
  position: relative;
  transition: all .2s;
  background: none;
  margin: 20px;
}

#button:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  background: #16a085;
  top: 0;
  left: 0;
  transition: all .2s;
  color: white;
  z-index: -1;
}

#button:hover:before {
  height: 100%;
  transition: all .2s;
}

#button:hover {
  color: white;
}


/* 1 buton bitişi */

#button2 {
  border: 2px solid #2980b9;
  display: inline-block;
  padding: 20px 30px;
  font-size: 25px;
  color: #2980b9;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Arial";
  position: relative;
  transition: all .2s;
  background: none;
  margin: 20px;
}

#button2:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  background: #e74c3c;
  bottom: 0;
  left: 0;
  transition: all .2s;
  color: white;
  z-index: -1;
}

#button2:hover:before {
  height: 100%;
  transition: all .2s;
}

#button2:hover {
  color: white;
}


/* 2. buton bitişi */

#button3 {
  border: 2px solid #2980b9;
  display: inline-block;
  padding: 20px 30px;
  font-size: 25px;
  color: #2980b9;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Arial";
  position: relative;
  transition: all .2s;
  background: none;
  margin: 20px;
}

#button3:before {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  background: #9b59b6;
  bottom: 0;
  left: 0;
  transition: all .2s;
  color: white;
  z-index: -1;
}

#button3:hover:before {
  width: 100%;
  transition: all .2s;
}

#button3:hover {
  color: white;
}


/* 3. buton bitişi */

#button4 {
  border: 2px solid #2980b9;
  display: inline-block;
  padding: 20px 30px;
  font-size: 25px;
  color: #2980b9;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Arial";
  position: relative;
  transition: all .2s;
  background: none;
  margin: 20px;
}

#button4:before {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  background: #f39c12;
  bottom: 0;
  right: 0;
  transition: all .2s;
  color: white;
  z-index: -1;
}

#button4:hover:before {
  width: 100%;
  transition: all .2s;
}

#button4:hover {
  color: white;
}

Comments