发表于: 2018-08-03 04:14:24
4 726
编辑日报内容...
今天完成的事情:
2.使用Google搜索:http://www.ggfwzs.com/#1
3.学习使用GitHub:https://www.zhihu.com/question/20070065
下载GitHub Desktop,注册GitHub
学习GitHub的初步指南:https://guides.github.com/activities/hello-world/
4、不设置HTML高度,
<style type="text/css">
html,body{
height: 100%;
}
</style>
用其他方法重新写九宫格
使用padding设置九宫格


css代码:
.jiugongge{
padding-left: 15%;
padding-right: 15%;
padding-bottom: 15%;
padding-top: 15%;
width: 1%;
height: 7px;
margin: 1%;
border-radius: 10%;
background: orange;
float: left;
}
.text_line{
clear: both;
margin-bottom: 2em;
}
明天计划的事情:
css任务2步骤1开始
1.(环境搭建)访问github注册一个帐号(也许需要学习一下如何科学上网)(0.5H)
遇到的问题:
1.手机上直接访问网页?
方法一:没有成功
首先,电脑和手机连接上同一个wifi
然后查看电脑ip:win+R→cmd→ipconfig→回车, 找到无限局域网适配器wlan中的ip地址,例如我的是192.168.0.119
然后手机浏览器中输入192.168.01.119/task1.html 就可以看到自己的代码啦~
方法二:
1.代码上传至服务器,直接用ip访问
手机浏览器输入:
http://192.168.1.106/xin.html
访问九宫格失败,提示 404 Not Found
电脑浏览器可以
nginx错误日志:
2018/08/02 17:14:32 [error] 10900#4644: *9 CreateFile() "E:\home\www/ xin. html" failed (2: The system cannot find the file specified), client: 192.168.1.102, server: localhost, request: "GET /%20xin.%20html HTTP/1.1", host: "192.168.1.106"
尝试过的办法:
1、关闭电脑防护墙
2、手机改用Chrome浏览器
未完成:
验收标准 3.移动端:在模拟手机查看时也能保证九宫格宽度等同屏幕宽度
收获:
1,使用padding方法完成九宫格
评论