Foundation wird zur Entwicklung responsiver HTML-, CSS- und JavaScript-Frameworks verwendet.
Foundation ist ein benutzerfreundliches, leistungsstarkes und flexibles Framework zum Erstellen von Webanwendungen auf jedem Ger?t.
Foundation ist ein beliebtes Mobile-First-Framework.
Foundation-Schaltfl?chengruppe Syntax
Anleitung: Foundation kann eine Reihe von Schaltfl?chen in derselben Zeile erstellen. Schaltfl?chengruppen k?nnen mit dem Element <ul> und dem Hinzufügen der Klasse .button-group
erstellt werdenFoundation-Schaltfl?chengruppe Beispiel
<!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> <ul class="button-group"> <li><button type="button" class="button">Apple</button></li> <li><button type="button" class="button">Samsung</button></li> <li><button type="button" class="button">Sony</button></li> </ul> </div> </body> </html>
Instanz ausführen ?
Klicken Sie auf die Schaltfl?che ?Instanz ausführen“, um die Online-Instanz anzuzeigen