码迷,mamicode.com
首页 >  
搜索关键字:repeat    ( 2408个结果)
CSS新样式2
/* CSS Document */ .iconImg{ background:url(../images/icon/icon.png) no-repeat 0 0; display:inline-block;} .diamond{ height:16px; width:12px;backgroun ...
分类:Web程序   时间:2017-05-22 18:59:36    阅读次数:205
遍历输出图片加hover
1. 2. ...
分类:其他好文   时间:2017-05-22 17:46:41    阅读次数:174
动态截取字符串获取当前网页的URL地址
动态截取字符串获取当前网页的URL地址 var url = window.location; var urlArr = url.toString().split('/'); var ustr = urlArr[4]if(typeof(ustr) =="undefined"){}else{$("#w- ...
分类:Web程序   时间:2017-05-22 13:47:32    阅读次数:285
Swift 学习- 05 -- 集合类型
// 集合类型 // swift 提供 Arrays , Sets 和 Dictionaries 三种基本的集合类型用来存储数据 , 数组(Arrays) 是有序数据的集, 集合(Sets)是无序无重复数据的集, 字典(Dictionaries) 是无序的键值对的集 // swift 语言中的 Ar ...
分类:编程语言   时间:2017-05-22 13:32:17    阅读次数:299
C# Web 数据注解Data Annotations、模型状态ModelState、数据验证
C#中的模型状态与数据注解,为我们提供了很便利的请求数据的验证。 1. ModelState ModelState在进行数据验证的时候很有用的,它是: 1)验证数据,以及保存数据对应的错误信息。 2)微软的一种DRY(Don't Repeat Yourself)设计,通过ModelState可以做服... ...
分类:Windows程序   时间:2017-05-22 12:06:39    阅读次数:1094
工作五年,后面四年重复着第一年的活儿?
转自:http://www.barretlee.com/blog/2016/07/21/donnot-repeat-yourself/ 当我们沉浸在旺盛的需求之中时,整个人便会成为一台工作的机器,切着类似的页面,写着同样的逻辑,重复着昨天或者上个月做的事情,时间久了,觉得腻味,没有什么创新,也没有明 ...
分类:其他好文   时间:2017-05-21 14:52:10    阅读次数:189
最长回文子串解法
原题地址:https://leetcode.com/problems/longest-substring-without-repeating-characters/#/description 没咋么过脑子,瞬间能想到的思路大概为: "abcabcbb"比如这个字符串首先 声明一个数组 里面存放各种开 ...
分类:其他好文   时间:2017-05-21 01:07:39    阅读次数:243
背景图片铺满body
添加背景图片: 添加样式代码如下: <style type="text/css"> body { background: url("image/bg.jpg") top center no-repeat; background-size: cover; } </style> 最终效果如下图所示: ...
分类:其他好文   时间:2017-05-19 19:27:53    阅读次数:148
web端 repeat和简单控件
<%@ %> - 这里面写一些声明和引用的<% %> - 编写C#代码的<%= %><%# %> Repeater - 重复器 相当于winform的listviewHeaderTemplate - 先执行,执行一次FooterTemplate - 最后执行,执行一次ItemTemplate - 在 ...
分类:Web程序   时间:2017-05-19 00:00:17    阅读次数:722
【Lintcode】135.Combination Sum
题目: Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same re ...
分类:其他好文   时间:2017-05-17 23:32:59    阅读次数:228
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!