会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
L与S的小甜菜
博客园
首页
新随笔
联系
管理
订阅
2018年2月18日
Div默认高度为0
摘要: Div默认高度为0
阅读全文
posted @ 2018-02-18 18:35 L与S的小甜菜
阅读(325)
评论(0)
推荐(0)
2018年2月17日
个人信息练习
摘要: img 和 input都是内容,剧中用text align
阅读全文
posted @ 2018-02-17 20:27 L与S的小甜菜
阅读(78)
评论(0)
推荐(0)
CSS案例
摘要: 1 2 3 4 5 6 51 52 53 54 爱宠知识 55 56 养狗比养猫更健康 57 养狗比养猫更健康 58 ...
阅读全文
posted @ 2018-02-17 12:17 L与S的小甜菜
阅读(106)
评论(0)
推荐(0)
2018年2月16日
制作网站导航
摘要: <style type="text/css"> .box{ height: 40px; background-color: #eee; border-top: orange solid 3px; border-bottom: 1px solid #aaa; } .box2{ ; width: 600
阅读全文
posted @ 2018-02-16 17:01 L与S的小甜菜
阅读(293)
评论(0)
推荐(0)
居中
摘要: margin 0 auto是盒子包含盒子时的水平居中 text align是盒子包含内容时的水平居中
阅读全文
posted @ 2018-02-16 16:06 L与S的小甜菜
阅读(83)
评论(0)
推荐(0)
表格
摘要: table{ width: 200px; height: 300px; border: red solid 1px; border-collapse: collapse; } td{ border: red solid 1px; } </style> </head> <body> <table >
阅读全文
posted @ 2018-02-16 11:36 L与S的小甜菜
阅读(66)
评论(0)
推荐(0)
2018年2月13日
html
摘要: cellspacing="0" 单元格之间的距离cellpadding=”2” 内容距边框的距离如果直接给表格用align=”center” 表格居中如果给tr或者td使用 ,tr(一行的内容)或者td内容居中。<table border="50"表示单元格边框像素值colspan=”2” 合并同一
阅读全文
posted @ 2018-02-13 10:07 L与S的小甜菜
阅读(57)
评论(0)
推荐(0)
2018年2月8日
内置函数
摘要: array=[1,3,4,71,2] def add_num(x): return x+1 def map_test(func,array): ret=[] for i in array: ret.append(func(i)) return ret print(map_test(add_num,array)) #可以使用匿名函数 print(...
阅读全文
posted @ 2018-02-08 09:44 L与S的小甜菜
阅读(80)
评论(0)
推荐(0)
2018年2月7日
max的使用方法
摘要: 元祖不可以改变;列表可变,列表用[]元祖用(),字典和列表都用{} 集合:无序 元祖:有序 列表:有序 字典:无序 数字,元祖,字符串是不可以修改的 对比下列两个程序的差异 全局变量对于可变元素可以不声明修改 name=['linnan','syh'] def change(): name.append("mm") change() print(name) ******** name=...
阅读全文
posted @ 2018-02-07 21:40 L与S的小甜菜
阅读(777)
评论(0)
推荐(0)
2018年2月2日
库的安装
摘要: 3. 如用pip安装,常用命令就是:pip install simplejson # 安装Python包pip install --upgrade simplejson # 升级Python包pip uninstall simplejson # 卸载Python包 jupyter : ctrl+回车
阅读全文
posted @ 2018-02-02 14:46 L与S的小甜菜
阅读(117)
评论(0)
推荐(0)
下一页
公告