Bootstrap Set Key Stuff 发布时间:2023/10/11 编程学习网为您整理以下代码实例,主要实现:Bootstrap Set Key Stuff,希望可以帮到各位朋友。 <!DOCTYPE HTML> <HTML> <head> <Title>bootstrap Example</Title> <link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/4.1.1/CSS/bootstrap.min.CSS"> <script src = "https://AJAX.GoogleAPIs.com/AJAX/libs/jquery/3.3.1/jquery.min.Js"></script> <script src = "https://maxcdn.bootstrapcdn.com/bootstrap/4.1.1/Js/bootstrap.min.Js"></script> </head> <body> <h2>Example</h2> <div class = "container"> <div class = "w-50 bg-danger">Danger</div> <div class = "bg-primary">Key text!</div> </div> </body> </HTML> 复制代码