D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
html
/
crsys
/
Filename :
tailwind.php
back
Copy
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <title>Botões estilo VB com efeito de clique</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> <style> body { background-color: #dcdcdc; font-size: 0.75rem; line-height: 1; } .vb-form { background-color: #f0f0f0; border: 1px solid #ccc; padding: 0.5rem; border-radius: 4px; } .vb-input { border: 2px inset #ccc; background-color: #fff; height: 22px; padding: 0 6px; font-size: 0.75rem; line-height: 1; } .vb-button { border: 2px outset #ccc; background-color: #e0e0e0; color: #000; font-weight: bold; height: 22px; padding: 0 10px; font-size: 0.75rem; line-height: 1; box-shadow: none; transition: border 0.1s, background-color 0.1s; } .vb-button:active { border: 2px inset #999; background-color: #d0d0d0; } .vb-label { white-space: nowrap; font-size: 0.75rem; margin-bottom: 0; } .row.g-0 { --bs-gutter-x: 0.25rem; --bs-gutter-y: 0; } </style> </head> <body> <div class="container mt-2"> <div class="vb-form"> <div class="row g-0 align-items-center"> <div class="col-auto"> <label for="codigo" class="vb-label">Código:</label> </div> <div class="col-auto"> <input type="text" id="codigo" class="form-control vb-input" style="width: 100px;"> </div> <div class="col-auto"> <button class="vb-button">Buscar</button> </div> </div> <div class="row g-0 align-items-center mt-0"> <div class="col-auto"> <label for="nome" class="vb-label">Nome:</label> </div> <div class="col-auto"> <input type="text" id="nome" class="form-control vb-input" style="width: 200px;"> </div> <div class="col-auto"> <button class="vb-button">Salvar</button> </div> </div> </div> </div> </body> </html>