Bouton Fondation
Résultats de traduction:
Foundation est utilisé pour développer des frameworks HTML, CSS et JavaScript réactifs.
Foundation est un framework facile à utiliser, puissant et flexible pour créer des applications Web sur n'importe quel appareil.
Foundation est un framework mobile first populaire.
Bouton Fondationsyntaxe
Instructions : Foundation propose 6 styles de boutons. La classe .button crée un bouton bleu avec un remplissage. Les types de boutons de différentes couleurs sont : .secondary, .success, .info, .warning ou .alert
Bouton Fondationexemple
<!DOCTYPE html> <html> <head> <title>Foundation 实例</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdn.bootcss.com/foundation/5.5.3/css/foundation.min.css"> <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.bootcss.com/foundation/5.5.3/js/foundation.min.js"></script> <script src="https://cdn.bootcss.com/foundation/5.5.3/js/vendor/modernizr.js"></script> </head> <body> <div style="padding:20px;"> <h2>按钮样式</h2> <button type="button" class="button">Default</button> <button type="button" class="button secondary">Secondary</button> <button type="button" class="button success">Success</button> <button type="button" class="button info">Info</button> <button type="button" class="button warning">Warning</button> <button type="button" class="button alert">Alert</button> </div> </body> </html>
Exécuter l'instance »
Cliquez sur le bouton « Exécuter l'instance » pour afficher l'instance en ligne
Recommandations populaires
- Les boutons de volume de l'iPhone ne fonctionnent pas ? Essayez ces 7 correctifs
- Comment créer un effet de révélation de texte pour les boutons en utilisant HTML et CSS ?
- La Fondation Eigen accorde sa première subvention stratégique à la Fondation Celo
- La Haute Cour de Singapour ordonne à la Fondation Multichain d'indemniser la Fondation Fantom pour des pertes de piratage de 210 millions de dollars
- Vitalik Buterin divulgue les dépenses de la Fondation Ethereum (EF), y compris les subventions à la Fondation Nomic et L2BEAT
- La Fondation Ethereum révèle la raison de la vente