发表于: 2018-11-04 23:37:29

1 680


今天完成的事情:(一定要写非常细致的内容,比如说学会了盒子模型,了解了Margin) 

完成了任务十四的第一个页面,还差个媒体查询就完成了
明天计划的事情:(一定要写非常细致的内容) 

完成第一个页面吧
遇到的问题:(遇到什么困难,怎么解决的) 

遇到了关于如果说在任务十四的第一个页面,那么在底部少了个媒体查询,底部的这个部分框架不知道要怎么写才可以把他实现了

收获:(通过今天的学习,学到了什么知识)

通过今天的学习我了解到了,我重新的看了一边关于媒体查询的部分

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8"> 

<title>5(runoob.com)</title> 

<style>

ul {

    list-style-type: none;

}

ul li a {

    color: green;

    text-decoration: none;

    padding: 3px; 

    display: block;

}

@media screen and (max-width: 699px) and (min-width: 520px) {

    ul li a {

        padding-left: 30px;

        background: url(email-icon.png) left center no-repeat;

    }

}

</style>

</head>

<body>

<h1>重置浏览器窗口,查看效果!</h1>

<ul>

  <li><a data-email="johndoe@example.com" href="mailto:johndoe@example.com">John Doe</a></li>

  <li><a data-email="marymoe@example.com" href="mailto:marymoe@example.com">Mary Moe</a></li>

  <li><a data-email="amandapanda@example.com" href="mailto:amandapanda@example.com">Amanda Panda</a></li>

</ul>

</body>

</html>


<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8"> 

<title>56(runoob.com)</title> 

<style>

ul {

    list-style-type: none;

}

ul li a {

    color: green;

    text-decoration: none;

    padding: 3px; 

    display: block;

}

@media screen and (max-width: 699px) and (min-width: 520px) {

    ul li a {

        padding-left: 30px;

        background: url(email-icon.png) left center no-repeat;

    }

}

@media screen and (max-width: 1000px) and (min-width: 700px) {

    ul li a:before {

        content: "Email: ";

        font-style: italic;

        color: #666666;

    }

}

</style>

</head>

<body>

<h1>重置浏览器窗口,查看效果!</h1>

<ul>

  <li><a data-email="johndoe@example.com" href="mailto:johndoe@example.com">John Doe</a></li>

  <li><a data-email="marymoe@example.com" href="mailto:marymoe@example.com">Mary Moe</a></li>

  <li><a data-email="amandapanda@example.com" href="mailto:amandapanda@example.com">Amanda Panda</a></li>

</ul>

</body>

</html>



返回列表 返回列表
评论

    分享到