1.设置option文字居中时发现,给select设置text-align:center在火狐浏览器下ok,但是在chrome浏览器无效,然后option在两个浏览器下设置text-align:center都是无效 解决方案: select:{ width: auto; padding: 0 1%; ...
分类:
其他好文 时间:
2017-10-09 10:56:34
阅读次数:
137
transition: 使用 type特性可以设置 animation 或 transition 需要 Vue 监听的类型 js钩子: 初始节点过渡: <transition appear v-on:before-appear="customBeforeAppearHook" v-on:appear ...
分类:
其他好文 时间:
2017-10-03 20:35:50
阅读次数:
259
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo ...
分类:
其他好文 时间:
2017-10-02 23:47:01
阅读次数:
250
Tabs make it easy to explore and switch between different views. 通过TabLayout可以在一个活动中通过滑动或者点击切换到不同的页面 首先这个是google的Material Design中的控件所以使用前需要先添加依赖库 具体使用 ...
分类:
移动开发 时间:
2017-10-01 18:08:19
阅读次数:
247
不同的浏览器默认的select的选项图标是不同的,例如: 在chrome中,是这样的: 未点击时 点击时 在Firefox中是这样的: 未点击时 点击时 在IE9中是这样的: 未点击时 点击时 其它浏览器大家可以自己尝试看看select的默认样式 下面开始正式介绍怎么替换: 这是我的html代码: ...
分类:
其他好文 时间:
2017-10-01 17:38:00
阅读次数:
288
Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its corresponding column number. For example: Cr ...
分类:
其他好文 时间:
2017-09-30 20:53:44
阅读次数:
154
文本居中: android:gravity="center" 也可以在这样 ...
分类:
移动开发 时间:
2017-09-30 16:17:41
阅读次数:
228
Given a sorted linked list, delete all duplicates such that each element appear only once. For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, ...
分类:
其他好文 时间:
2017-09-27 10:04:07
阅读次数:
151
83. Remove Duplicates from Sorted List Given a sorted linked list, delete all duplicates such that each element appear only once. For example,Given 1- ...
分类:
其他好文 时间:
2017-09-26 21:17:45
阅读次数:
118