background preloader

BUTTONS AND CO

Facebook Twitter

CSS3 Gradient Generator. Manifique bouton en CSS. Compatibilité : En CSS, certains scripts ne sont pas compatibles avec tous les navigateurs. Voici la liste des navigateurs compatibles : Manifique bouton en CSS Les boutons par défaut en HTML sont souvent modifiés par les graphistes afin de donner une personnaliser le site et le rendre moins commun Etape 1 : le code HTML Il faut utiliser les tag <a> avec la balise span à l'intérieur.

<a href="#" class="button"><span class="add">Add to your bookmark</span></a> Vous pouvez repliquer cette structure pour tout les boutons nécessaires sur votre site : Et la balise <a> est le contenaire du bouton et une "classe" au sens CSS avec une balise span qui contient les propirétés de couleur de fond et l'icone à appliquer au bouton.

Exemple : <a href="#" class="button"><span class="delete">Delete this bookmark</span></a><a href="#" class="button"><span class="user">Add to friends</span></a> Etape 2 : Le code CSS Voici le code CSS qui définie la couleur de fond, taille, hauteur.... Un exemple est disponibile ici. CSS image replacement for submit buttons - Web design tips & tricks. Last updated: 2005/11/30 Return to the main page Expanding the techniques for CSS image replacement by Mike Rundle and Seamus P.

H. Leahy, and inspired by a question posted to the WebDesign-L mailing list, I have developed an image replacement method for submit buttons, and in general for the button tag. Using this method you'll get a clickable image when style sheets are active, and a standard button when style sheets are off. Here you can see examples of both variants of this method using a basic Google search box. Using text-indent for image replacement: Using padding-top for image replacement: You can use the button below to see the page without the CSS applied: Note: The Google search boxes are used only as an example.

Known issues For some reason Opera doesn't process properly the cursor applied to button in both methods, so no handy cursor for Opera users. The CSS code. 3D Facebook Button Concept. CSS Border Radius. CSS3 Shadows Generator (Box-Shadow) - shadows css3 html5 box shadow html code property maker css moz webkit drop shadow box div add a shadow effect block code generator online tool simple maker box-shadow property css3 without images script code css shado. CSS3 Button Generator. Button Maker.