运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html lang="en"> <head> <!-- Theme Made By www.w3schools.com - No Copyright --> <title>Bootstrap Theme The Band</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <style> .container { padding: 80px 120px; } .person { border: 10px solid transparent; margin-bottom: 25px; width: 80%; height: 80%; opacity: 0.7; } .person:hover { border-color: #f1f1f1; } </style> </head> <body> <div class="container text-center"> <h3>THE BAND</h3> <p><em>We love music!</em></p> <p>We have created a fictional band website. Lorem ipsum..</p> <br> <div class="row"> <div class="col-sm-4"> <p class="text-center"><strong>Name</strong></p><br> <a href="#demo" data-toggle="collapse"> <img src="bandmember.jpg" class="img-circle person" alt="Random Name" width="255" height="255"> </a> <div id="demo" class="collapse"> <p>Guitarist and Lead Vocalist</p> <p>Loves long walks on the beach</p> <p>Member since 1988</p> </div> </div> <div class="col-sm-4"> <p class="text-center"><strong>Name</strong></p><br> <a href="#demo2" data-toggle="collapse"> <img src="bandmember.jpg" class="img-circle person" alt="Random Name" width="255" height="255"> </a> <div id="demo2" class="collapse"> <p>Drummer</p> <p>Loves drummin'</p> <p>Member since 1988</p> </div> </div> <div class="col-sm-4"> <p class="text-center"><strong>Name</strong></p><br> <a href="#demo3" data-toggle="collapse"> <img src="bandmember.jpg" class="img-circle person" alt="Random Name" width="255" height="255"> </a> <div id="demo3" class="collapse"> <p>Bass player</p> <p>Loves math</p> <p>Member since 2005</p> </div> </div> </div> </div> </body> </html>