Botão Diversos
botão diversos
Código
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Custom Button Styles</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<style>
/* CSS custom buttons */
.btn-gradient {
background: linear-gradient(45deg, #ff6b6b, #ff8787);
color: white;
border: none;
padding: 10px 20px;
border-radius: 50px;
}
.btn-outline-gradient {
border: 2px solid;
border-image-slice: 1;
border-width: 2px;
border-image-source: linear-gradient(45deg, #00f260, #0575e6);
background: none;
color: #00f260;
padding: 10px 25px;
border-radius: 10px;
}
.btn-shadow {
background-color: #343a40;
color: #fff;
padding: 10px 20px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
border: none;
}
.btn-neon {
background-color: #111;
color: #fff;
padding: 10px 30px;
border-radius: 5px;
text-transform: uppercase;
letter-spacing: 2px;
border: 2px solid #00ff99;
box-shadow: 0 0 5px #00ff99, 0 0 10px #00ff99, 0 0 20px #00ff99;
}
.btn-3d {
background-color: #007bff;
color: white;
padding: 10px 30px;
border-radius: 5px;
border: none;
position: relative;
box-shadow: 0px 5px 0px #0056b3;
}
.btn-3d:active {
transform: translateY(4px);
box-shadow: 0px 1px 0px #0056b3;
}
.btn-square {
background-color: #28a745;
color: white;
padding: 15px 20px;
border-radius: 0;
border: none;
}
.btn-borderless {
background-color: transparent;
color: #ff5722;
padding: 10px 20px;
font-weight: bold;
border: none;
}
.btn-soft {
background-color: #ffc107;
color: white;
padding: 10px 30px;
border-radius: 25px;
border: none;
transition: background-color 0.3s;
}
.btn-soft:hover {
background-color: #e0a800;
}
.btn-hexagon {
display: inline-block;
padding: 10px 40px;
background-color: #6610f2;
color: white;
text-align: center;
position: relative;
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
border: none;
}
.btn-ghost {
background: none;
border: 2px solid #007bff;
color: #007bff;
padding: 10px 20px;
border-radius: 10px;
transition: all 0.3s ease;
}
.btn-ghost:hover {
background-color: #007bff;
color: white;
}
</style>
</head>
<body>
<div class="container mt-5">
<h2>Lista de Botões Customizados</h2>
<div class="d-grid gap-3">
<!-- Bootstrap Buttons -->
<button class="btn btn-primary" value="Enepta">Bootstrap Primary</button>
<button class="btn btn-danger" value="Enepta">Bootstrap Danger</button>
<!-- Custom Buttons with CSS -->
<button class="btn-gradient" value="Enepta">Gradient Button</button>
<button class="btn-outline-gradient" value="Enepta">Outline Gradient</button>
<button class="btn-shadow" value="Enepta">Shadow Button</button>
<button class="btn-neon" value="Enepta">Neon Button</button>
<button class="btn-3d" value="Enepta">3D Button</button>
<button class="btn-square" value="Enepta">Square Button</button>
<button class="btn-borderless" value="Enepta">Borderless Button</button>
<button class="btn-soft" value="Enepta">Soft Button</button>
<button class="btn-hexagon" value="Enepta">Hexagon Button</button>
<button class="btn-ghost" value="Enepta">Ghost Button</button>
</div>
</div>
<!-- Bootstrap JS and Popper.js -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
</body>
</html>