发表于: 2018-11-05 23:27:08
1 750
今天完成的事情:(一定要写非常细致的内容,比如说学会了盒子模型,了解了Margin)
今天完成了任务十四的第二个页面
明天计划的事情:(一定要写非常细致的内容)
第三个页面完成吧
遇到的问题:(遇到什么困难,怎么解决的)
就是关于SCSS和BS4的嵌套的问题,还有背后的媒体查询的问题
收获:(通过今天的学习,学到了什么知识)
重新的看了一下关于媒体查询的部分
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 实例</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container mt-3">
<h2>多媒体对象嵌套</h2>
<p>多媒体对象可以多个嵌套(一个多媒体对象中包含另外一个多媒体对象):</p><br>
<div class="media border p-3">
<img src="http://static.runoob.com/images/mobile-icon.png" alt="John Doe" class="mr-3 mt-3 rounded-circle" style="width:60px;">
<div class="media-body">
<h4>修真院</h4>
<p>学的不仅是技术,更是梦想!!!</p>
<div class="media p-3">
<img src="http://static.runoob.com/images/mobile-icon.png" alt="Jane Doe" class="mr-3 mt-3 rounded-circle" style="width:45px;">
<div class="media-body">
<h4>修真院</h4>
<p>学的不仅是技术,更是梦想!!!</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 实例</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container mt-3">
<h2>多媒体对象</h2>
<p>使用 .media 和 .media-body 类创建多媒体对象:</p>
<div class="media border p-3">
<img src="http://static.runoob.com/images/mobile-icon.png" alt="John Doe" class="mr-3 mt-3 rounded-circle" style="width:60px;">
<div class="media-body">
<h4>修真院</h4>
<p>学的不仅是技术,更是梦想!!!</p>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 实例</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container mt-3">
<h2>多媒体对象</h2>
<p>我们可以使用 align-self-* 相关类来设置多媒体对象的图片显示位置:</p><br>
<!-- 头部 -->
<div class="media">
<img src="http://static.runoob.com/images/mobile-icon.png" class="align-self-start mr-3" style="width:60px">
<div class="media-body">
<h4>头部 -- 修真院</h4>
<p>学的不仅是技术,更是梦想!!
<p>学的不仅是技术,更是梦想!!
<p>学的不仅是技术,更是梦想!!
</div>
</div>
<!-- 居中 -->
<div class="media mt-3">
<img src="http://static.runoob.com/images/mobile-icon.png" class="align-self-center mr-3" style="width:60px">
<div class="media-body">
<h4>居中 -- 修真院</h4>
<p>学的不仅是技术,更是梦想!!
<p>学的不仅是技术,更是梦想!!
<p>学的不仅是技术,更是梦想!!
</div>
</div>
<!-- 底部 -->
<div class="media mt-3">
<img src="http://static.runoob.com/images/mobile-icon.png" class="align-self-end mr-3" style="width:60px">
<div class="media-body">
<h4>45546</h4>
<p>学的不仅是技术,更是梦想!!
<p>学的不仅是技术,更是梦想!!
<p>学的不仅是技术,更是梦想!!
</div>
</div>
</div>
</body>
</html>
评论