提交 3df57db5 编写于 作者: 梦想橡皮擦's avatar 梦想橡皮擦 💬

图片添加-静态资源学习

上级 2f6a985c
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/css/bootstrap.min.css">
</head>
<body>
<div class="container"></div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -8,20 +8,13 @@
</head>
<body>
<div class="container">
<div class="row">
<div class="col-8 bg-success p-4">
爬虫训练场
<div class="row">
<div class="col-6 bg-info p-2">左分割</div>
<div class="col-6 bg-secondary p-2">右分割</div>
</div>
</div>
<div class="col-4 bg-primary p-4">尾部4份</div>
</div>
</div>
<div class="container">
<img src="{{url_for('static',filename='images/sucai.png')}}" alt="" width="300" class="rounded">
<img src="{{url_for('static',filename='images/sucai.png')}}" alt="" width="300" class="rounded-circle">
<img src="{{url_for('static',filename='images/sucai.png')}}" alt="" width="300" class="img-thumbnail">
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册