“Tombol CSS” Kode Jawaban

Tombol 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

Tombol HTML CSS Good

<button style="background-color: turquoise; border: none; border-radius: 5px; color: #333; /* Dark grey */ padding: 15px 32px">Example button</button>
hateschoollovecoding

Tombol 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

CSS Button Style Rectangle

.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

Ukuran tombol HTML

transform: scale(4); /* This will make the component 4 times bigger  */
Casual Coder

Tombol 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

Jawaban yang mirip dengan “Tombol CSS”

Pertanyaan yang mirip dengan “Tombol CSS”

Lebih banyak jawaban terkait untuk “Tombol CSS” di CSS

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya