“Boutons CSS” Réponses codées

bouton CSS

<a href="#" class="butt">Ceramics</a>

.butt {
	box-shadow:inset 0px 1px 0px 0px #fce2c1;
	background:linear-gradient(to bottom, #ffc477 5%, #fb9e25 100%);
	background-color:#ffc477;
	border-radius:11px;
	border:2px solid #eeb44f;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:16px;
	font-weight:bold;
	padding:8px 18px;
	text-decoration:none;
	text-shadow:0px 1px 0px #cc9f52;
}
.butt:hover {
	background:linear-gradient(to bottom, #fb9e25 5%, #ffc477 100%);
	background-color:#fb9e25;
}
.butt:active {
	position:relative;
	top:1px;
}
Aaditya Goenka

Boutons CSS

.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}
Uninterested Unicorn

rectangle de style bouton CSS

.placeholder-box {
  position: relative;
  display: block;
  width: 300px;
  min-height: 150px;
  margin-top: 50px;
  padding: 30px;
  border: 1px solid #888;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.25);
}

.placeholder-box p {
  text-align: center;
  margin: 0 0 15px;
}

.placeholder-box ul {
  margin: 0;
}

/* Button */

button {
 display: block;
 border: solid white;
 border-width: 0 10px;
 border-radius: 0;
 background: green;
 color: white;
 font-size: 18px;
 margin: -60px auto 15px;
 padding: 15px;
}
Bloody Bug

Boutons CSS

<style>
  .btn {
  border: none;
  border-radius: 12px;
  width: 80px;
  height: 30px;
  border-color: #FFB45C;
  background: linear-gradient(146.11deg, #FFDFBA 20.43%, rgba(255, 255, 255, 0) 79.91%), linear-gradient(202.81deg, #FF6636 38.99%, rgba(255, 255, 255, 0) 85.2%), #FFB45C;
}

.btn:hover {
    background: linear-gradient(red, yellow);
}
</style>

<button class='btn'>clcik me</button>
vagg

Bouton CSS

<!DOCTYPE html>
<html lang="en">
<head>
          <meta charset="UTF-8">
          <meta http-equiv="X-UA-Compatible" content="IE=edge">
          <meta name="viewport" content="width=device-width, initial-scale=1.0">
          <title>Perfect Button Tutorial BY Sampanna Bhattarai</title>
</head>
<body>
          <style>
                    *{
          margin: 0;
          padding: 0;
          font-family: sans-serif;

}

body{
          display: flex;
          align-items: center;
          justify-content: center;
          height: 100vh;
          background: #000;
}
body button{
          background: linear-gradient(rgb(25, 255, 156),rgb(119, 157, 255),rgb(0, 195, 255));
          color: rgb(255, 255, 255);
          outline: none;
          border: none;
          font-size: 50px;
          width: 5em;
          border-radius: 12px;
          cursor: pointer;
          transition: all 0.9s ease-in-out;
}
body button:hover{
          border-radius: 19px;
          background-color: aqua;
          box-shadow: 0px 0px 09px 10px rgba(0, 0, 255, .2),
                                0px 0px 09px 10px rgba(255,255,255, .2)
          ;
}
          </style>
          <button>Click</button> 
<!-- I am Sampanna bhattarai -->
</body>
</html>
Sampanna Bhattarai

rectangle de style bouton CSS

<div class="placeholder-box">
  <button type="button"> Button Text Here </button>
  <p>Nunc condimentum mauris elit</p>
  <ul>
    <li>Duis quis eros felis</li>
    <li>Nulla facilisi</li>
  </ul>
</div>
Bloody Bug

Réponses similaires à “Boutons CSS”

Questions similaires à “Boutons CSS”

Plus de réponses similaires à “Boutons CSS” dans CSS

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code