- 博客(8)
- 收藏
- 关注
原创 百度前端学院—小薇学院—任务四
代码地址:https://github.com/fangfay/baidu/blob/master/xiaowei/04/index.htmldemo地址:https://htmlpreview.github.io/?https://github.com/fangfay/baidu/blob/master/xiaowei/04/index.html
2017-08-07 14:06:29 352
原创 学习笔记2 ——关于选择器
关于选择器1、只选中有href属性的a标签:a[href]{color:ref;}2、选的更细一点,要选中同时有href和title属性的a标签里的内容:a[href][title]{color:red;}同理,可以选中带有指定属性的指定标签均可这么做,要选细一点就多写几个属性即可,也可以把里面的属性的特性也指定出来,如【href="http://www.baidu
2017-05-31 16:38:38 244
转载 转载至张超的博客:table中td,th不能设置margin
原文地址:http://www.cnblogs.com/chaozhang/p/4711216.htmltable中td,th不能设置margin首先,我们需要知道的是:我们可以对表格table设置margin,而不能设置padding;对单元格td设置padding,而不能设置margin。所以说,我们不能对单元格td设置margin属性来调整单元格与单元格之间的
2017-05-24 17:40:52 3924
原创 学习笔记1 2017-5-18
今天在完善我的第一个静态页面时,想把一个"最新公告"移下来一点和旁边的图标相同高度,效果如下: 目标效果:,现实是:(一眼看过去好像没什么差,但是那个文字太上去了,下面空太多), 可我设置margin、padding的left和right明明是有效果的,设置top和bottom却怎样都不起作用,最后查到原来行内元素是可以设置左右内外边距的,但就是不能设置上下内外边距,可能因为是“行内”吧
2017-05-19 09:33:39 208
原创 百度前端学院—小薇学院—任务三
代码地址:https://github.com/fangfay/baidu/blob/master/xiaowei/03/index.htmldemo地址:https://htmlpreview.github.io/?https://github.com/fangfay/baidu/blob/master/xiaowei/03/index.html
2017-04-05 10:47:15 456
原创 百度前端学院-小薇学院-任务二
代码地址:https://github.com/fangfay/baidu/tree/master/xiaowei/02/index.htmldemo地址:https://htmlpreview.github.io/?https://github.com/fangfay/baidu/blob/master/xiaowei/02/index.html后面的表单目前还不太会,先这样,下次来补吧
2017-04-05 10:44:21 358
原创 百度前端学院—小薇学院—任务一
代码地址:https://github.com/fangfay/baidu/blob/master/xiaowei/01/index.htmldemo地址:https://htmlpreview.github.io/?https://github.com/fangfay/baidu/blob/master/xiaowei/01/index.html
2017-04-05 10:42:15 359
原创 如何将上传到GITHUB的代码生成显示页面查看效果
如何将我上传在GITHUB的代码生成个效果页面给别人看呢? 只需在上传的html代码页面的网址前加上“https://htmlpreview.github.io/?”即可, 如: https://github.com/fangfay/baidu/blob/master/xiaowei/03/index.html 加上代码后是:https://htmlpr
2017-03-31 02:11:02 3165
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人