Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Enregistrer le code
Ctrl+Alt+A
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <head> <style> .btn-group { afficher: flex; flex-wrap: wrap; } .button { couleur-de-fond: #D74444; bordure: 1px solide vert; couleur: blanc; padding: 15px 32px; text-align: center; text-decoration: none; taille de police: 16px; curseur: pointeur; } .btn-group .button:hover { couleur de fond: dodgerblue; } .btn-group .button:not(:last-child) { border-right: none; /* Empêcher les bordures doubles */ } </style> </head> <body> <h2>Groupe de Boutons Bordés</h2> <p>Ajoutez des bordures pour créer un groupe de boutons bordés :</p> <div class="btn-group"> <button class="button">Bouton</button> <button class="button">Bouton</button> <button class="button">Bouton</button> <button class="button">Bouton</button> </div> </body> </html>