后台布局
摘要: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)
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)
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)
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)
parseInt 和 parseFloat 实现字符串转换为数字
摘要:age = '18' a = parseInt(age) b = parseFloat(age)
阅读全文
posted @
2018-07-10 21:00
python我的最爱
阅读(698)
推荐(0)
margin-top和padding-top
摘要:padding- top 在原有的基础上进一步的扩张 margin - top 在原有的位置上发生上下的平移
阅读全文
posted @
2018-07-04 17:41
python我的最爱
阅读(286)
推荐(0)
行内标签与块级标签的转换
摘要:display : inline-block 块级标签转换为行内标签 display : block 行内标签转换为块级标签
阅读全文
posted @
2018-07-04 17:34
python我的最爱
阅读(320)
推荐(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)
边框(border)宽度样式颜色 和基本属性
摘要:border: 1px solid red (宽度 样式 颜色) height:高度 width:宽度 font-size: 字体大小 text-align: 内容水平位置‘ line-height : 内容上下位置 font-weight : 字体粗细
阅读全文
posted @
2018-07-04 15:55
python我的最爱
阅读(1156)
推荐(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)