码迷,mamicode.com
首页 >  
搜索关键字:line    ( 28191个结果
上传图片时预览
简述 本文的使用场景主要是用户修改头像,选择本地图片后在页面上面显示选择的图片。使用jQuery+js实现。 1.首先,页面上有一个input[type='file']标签 accept可以在前台限制用户可以上传什么类型的文件。 2.在标签下面添加一个div,用来显示用户选择的图片 3.给input ...
分类:Web程序   时间:2017-11-12 23:03:47    阅读次数:350
halcon算子翻译——return
名称 return- 结束程序调用。 用法 return( : : : ) 描述 retrun结束当前程序调用并返回到调用它的程序。 在调用程序中的调用完毕之后,程序将继续执行下一个活动的程序行(program execution is continued at the next active pr ...
分类:其他好文   时间:2017-11-12 23:01:19    阅读次数:197
继承盒模型以及CSS常用样式
serif 衬线字体 serif sans-serif 非衬线字体 sans serif line-through 删除线 line-throughtext-shadow : x y 模糊度 颜色 shadow background-size: background复合样式:#fff url() n ...
分类:Web程序   时间:2017-11-12 20:14:16    阅读次数:200
JAVA练习题
package cn.person.www; public class person { public int id; public String name; public int age; public String city; public String introduce() { return ...
分类:编程语言   时间:2017-11-12 20:12:24    阅读次数:215
IE浏览器兼容问题
1、margin兼容性问题 1)margin-top传递,子元素上下margin会传递给父级 阻止:触发BFC(如overflow:hidden;拯救标准浏览器及IE78)、触发IE的haslayout zoom:1(拯救IE67); 2)上下margin叠压(触发条件:同级元素,第一个元素的下与第 ...
分类:其他好文   时间:2017-11-12 19:22:07    阅读次数:156
Python一个命令开启http下载服务器(可以局域网内共享文件)
前提条件:windows系统上安装python 如果想把D:\asdm作为提供下载的目录, 打开cmd然后cd命令进入该目录:cd D:\asdm, 然后执行Python -m SimpleHTTPServer, 如果出现:No moudle named SimpleHTTPServer, 就使用命 ...
分类:编程语言   时间:2017-11-12 17:21:16    阅读次数:341
candy(动态规划)
题目描述 There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the followi ...
分类:其他好文   时间:2017-11-12 16:31:00    阅读次数:141
Pychram配置
灰底:【File】→【Setting(Ctrl+Alt+S)】→【Appearance & Behavior】→【Appearance】→【Theme:】 行号:【File】→【Setting(Ctrl+Alt+S)】→【Editor】→【General】→【Appearance】→【Show li ...
分类:其他好文   时间:2017-11-12 15:36:26    阅读次数:129
leetcode149- Max Points on a Line- hard
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 考数学和抠细节。O(n2)。每对点都要遍历。先固定第一个点,从第一个点开始跟后面每个点计算斜率,存到 ...
分类:其他好文   时间:2017-11-12 15:32:58    阅读次数:121
1 简单工厂模式
public class OperationFactory { public static Operation createOperate(String operate) { Operation oper = null; switch (operate) { case "+": oper = new ...
分类:其他好文   时间:2017-11-12 14:53:08    阅读次数:107
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!