Aller au contenu
View in the app

A better way to browse. Learn more.

Forum Camel Design

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

créer un bouton en html pour son site internet

Posté(e)

Pour faire un bouton en html sur votre site internet, voici quel code utiliser :

 

<a href="https://forum.camel-design.com/" class="button_camel_design">Mon bouton HTML</a>

 

Remplacer :

  • l'url par votre url ou vous voulez que votre bouton pointe
  • la class "button_camel_design" par une classe personnalisée qui vous aidera avec le css a styliser le bouton
  • et enfin le texte de fin "mon bouton html" par le texte qui doit apparaitre sur votre bouton

 

Voici également un exemple de css pour styliser le lien en bouton :

 

<style>
      .button_camel_design {
        background-color: #0066cc;
        border: none;
        color: white;
        padding: 8px 30px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        margin: 10px;
        cursor: pointer;
        border-radius: 8px;
      }
  .button_camel_design:hover {
        color: white;
        background-color: #000;
      }
    </style>

 

Le premier groupe représente le style du bouton de base, alors que le deuxieme groupe "hover" gère le style au survol de la souris

Cordialement
Camel Design

Webdesigner chez : camel-design

Featured Replies

No posts to show

Créer un compte ou se connecter pour commenter

Account

Navigation

Rechercher

Rechercher

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.