上周学习了HTML和css的一些基础,今天来夯实一下基础 选择器有: 1、标签选择器 :就是HTML 中的标签 如<p> <h1> <body>等 2、类选择器: 用 class="类选择器名称" 为标签设置一个类 ,以英文原点开头,语法: .类选择器名称{css样式代码} 3、ID选择器:用 id ...
分类:
其他好文 时间:
2018-12-02 21:10:12
阅读次数:
809
在使用json.dumps时要注意一个问题 >>> import json>>> print json.dumps('中国')"\u4e2d\u56fd" 输出的会是'中国' 中的ascii 字符码,而不是真正的中文。 这是因为json.dumps 序列化时对中文默认使用的ascii编码.想输出真正 ...
分类:
编程语言 时间:
2018-12-02 12:32:22
阅读次数:
189
Given an array nums, we call (i, j) an important reverse pair if i < j and nums[i] > 2*nums[j]. You need to return the number of important reverse pai ...
分类:
其他好文 时间:
2018-12-01 00:09:56
阅读次数:
235
题目: Little K is interested in BnB mode of the game Crazy Arcade recently. He found it important to preview the exploding time of bombs ,so he worked h ...
分类:
其他好文 时间:
2018-11-29 19:58:23
阅读次数:
243
Css: 1、把样式表置于顶部 2、避免使用CSS表达式(Expression) 3、使用外部JavaScript和CSS 4、削减javascript和css 5、用代替@important 6、避免使用滤镜 Javascript: 1、把脚本至于页面底部 2、使用外部javascript 3、削 ...
分类:
Web程序 时间:
2018-11-28 22:17:20
阅读次数:
209
select2在bootstrapmodal中不能正常使用问题设置CSS.select2-drop{z-index:10050!important;}.select2-search-choice-close{margin-top:0!important;right:2px!important;min-height:10px;}.select2-search-choice-close:before{
分类:
其他好文 时间:
2018-11-28 17:36:33
阅读次数:
316
# 当你需要为某个配置项指定内存大小的时候,必须要带上单位, # 通常的格式就是 1k 5gb 4m 等酱紫: # # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes # 1mb => 1024*1024 bytes # 1g =... ...
分类:
其他好文 时间:
2018-11-26 13:40:08
阅读次数:
92
em 参照本身元素的 font-size rem 参照 html 根元素 的 font-size rem 适配(同一元素,在不同设置上,效果一样) 原理 页面中的元素,统一 单位 rem 根元素字体大小 设置成 整个屏幕的宽(1 rem = 375px) // 适配 (手写 面试题) (functi ...
分类:
其他好文 时间:
2018-11-25 20:17:28
阅读次数:
186
错误表现: SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/D:/learn/Java/maven/repository_taotao/org/slf4j/slf4j-log4 ...
分类:
编程语言 时间:
2018-11-25 20:07:18
阅读次数:
352
欢迎访问网易云社区,了解更多网易技术产品运营经验。 项目背景 蜂巢计费系统为网易云计算基础服务(网易蜂巢)提供整体的计费服务,业务范围涵盖完整的产品售卖流程,包含定价、订单、支付、计费、结算、优惠、账单等主体功能,支持十几种不同产品的售卖,产品形态上贯穿了IaaS、PaaS和SaaS类别。同时,计费 ...
分类:
其他好文 时间:
2018-11-22 13:15:31
阅读次数:
163