透過 Bootstrap 在警報中獲取連結
使用 .alert-link utility 實用程式類以獲取任意警報中匹配顏色的連結。
可嘗試執行以下程式碼以在警報中獲取 Bootstrap 連結。我們為其設定成功和資訊狀態 −
示例
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <div class = "alert alert-success"> <a href = "#" class = "alert-link">Success! Well done its submitted.</a> </div> <div class = "alert alert-info"> <a href = "#" class = "alert-link">Information!</a> </div> </body> </html>
廣告
資料結構
網路
RDBMS
作業系統
Java
iOS
HTML
CSS
Android
Python
C 程式設計
C++
C#
MongoDB
MySQL
Javascript
PHP