<!DOCTYPE html>
<html lang="en">
<head>
<!--連結bootstrap css 檔案-->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0", user-scalable="no">
<title>Bootstrap</title>
<link rel="stylesheet" href="bootstrap.css">
</head>
<body>
<div class=".container">
<div class="row">
<!--根據不同螢幕大小調整網格排版-->
<div class="col-12 col-sm-6 col-lg-4">
<!--img-fluid可以調整圖片大小,width=100%,height=auto-->
<img src="img/dog.png" alt="" class="img-fluid">
</div>
<div class="col-12 col-sm-6 col-lg-4">
<img src="img/dog.png" alt="" class="img-fluid">
</div>
<div class="col-12 col-sm-6 col-lg-4">
<img src="img/dog.png" alt="" class="img-fluid">
</div>
</div>
</div>
<!--連結bootstrap js 檔案-->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
</html>
以上是今天的教學,感謝大家觀看。