随笔分类 -  HTML

上一页 1 2 3 4 下一页
后台布局
摘要:1. <link rel="stylesheet" href="../css/font-awesome.min.css"/> <div><i class="fa fa-envelope-o " aria-hidden="true"></i></div> //在awesome内提供标签名 2. bor 阅读全文
posted @ 2018-07-11 17:47 python我的最爱 阅读(161) 评论(0) 推荐(0)
CSS标签
摘要:1.position 位置的摆放形式 2.background 背景 background-image background-repeat background-position 3.text-align 文字位置 4.margin 外边距 5.padding 内边距 6.font-size 字体大 阅读全文
posted @ 2018-07-11 17:38 python我的最爱 阅读(95) 评论(0) 推荐(0)
下拉菜单的实现classList.add() classList.remove() class属性的添加和删除
摘要:Title 菜单1 内容1 内容1 菜单2 内容2 ... 阅读全文
posted @ 2018-07-10 21:45 python我的最爱 阅读(996) 评论(0) 推荐(0)
for循环
摘要:第一种形式 a=[11, 22, 33] for(var item in a){ console.log(item)} 第二种形式 for( var i=0; i<a.length, i++){ console.log(i)} 举例说明 阅读全文
posted @ 2018-07-10 21:42 python我的最爱 阅读(204) 评论(0) 推荐(0)
html的基本数据类型(数字,字符串, 列表, 字典)
摘要:基本数据类型 1. 数字 a = 18 ; 2. 字符串 a = 'alex'a.chartAt(索引位置)a.substring(起始位置, 借宿位置)a.length 获取当前字符串长度a.trim 去除空白a.concat(123) 拼接a.indexof(8) 获得子序列的位置a.lastI 阅读全文
posted @ 2018-07-10 21:28 python我的最爱 阅读(924) 评论(0) 推荐(0)
parseInt 和 parseFloat 实现字符串转换为数字
摘要:age = '18' a = parseInt(age) b = parseFloat(age) 阅读全文
posted @ 2018-07-10 21:00 python我的最爱 阅读(698) 评论(0) 推荐(0)
javarscript在HTML中的调用方式 (直接调用 和文件调用)
摘要://文件调用 Title 阅读全文
posted @ 2018-07-10 20:54 python我的最爱 阅读(291) 评论(0) 推荐(0)
padding 扩大边距 margin-top 与页面顶部的距离 hover鼠标移动到上面出现背景色CSS
摘要:Title LOGO 全部 42区 段子 1024 a 阅读全文
posted @ 2018-07-10 20:41 python我的最爱 阅读(255) 评论(0) 推荐(0)
overflow: auto 图片自适应调整
摘要:Title 阅读全文
posted @ 2018-07-10 20:34 python我的最爱 阅读(246) 评论(0) 推荐(0)
z-index层级顺序 opacity透明度 display: none 模态框实现
摘要:Title sdada 阅读全文
posted @ 2018-07-10 20:33 python我的最爱 阅读(249) 评论(0) 推荐(0)
相对固定位置 relative absolute
摘要:Title 阅读全文
posted @ 2018-07-10 20:29 python我的最爱 阅读(172) 评论(0) 推荐(0)
返回顶部 fixed oncheck(点击按钮)
摘要:Title 返回顶部 阅读全文
posted @ 2018-07-10 20:24 python我的最爱 阅读(364) 评论(0) 推荐(0)
margin-top和padding-top
摘要:padding- top 在原有的基础上进一步的扩张 margin - top 在原有的位置上发生上下的平移 阅读全文
posted @ 2018-07-04 17:41 python我的最爱 阅读(286) 评论(0) 推荐(0)
行内标签与块级标签的转换
摘要:display : inline-block 块级标签转换为行内标签 display : block 行内标签转换为块级标签 阅读全文
posted @ 2018-07-04 17:34 python我的最爱 阅读(320) 评论(0) 推荐(0)
淘宝界面(后续将补充)
摘要:<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <style> .pg-header{ height: 38px; line-height: 38px; background-colo 阅读全文
posted @ 2018-07-04 17:08 python我的最爱 阅读(222) 评论(0) 推荐(0)
浮动float 摆放位置
摘要:Title 1 2 阅读全文
posted @ 2018-07-04 16:18 python我的最爱 阅读(224) 评论(0) 推荐(0)
边框(border)宽度样式颜色 和基本属性
摘要:border: 1px solid red (宽度 样式 颜色) height:高度 width:宽度 font-size: 字体大小 text-align: 内容水平位置‘ line-height : 内容上下位置 font-weight : 字体粗细 阅读全文
posted @ 2018-07-04 15:55 python我的最爱 阅读(1156) 评论(0) 推荐(0)
调用css文件,进行调色
摘要:Title 小米 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <link rel = stylesheet href="commons.css"> </head> <body> 阅读全文
posted @ 2018-07-04 15:38 python我的最爱 阅读(167) 评论(0) 推荐(0)

上一页 1 2 3 4 下一页