码迷,mamicode.com
首页 >  
搜索关键字:container    ( 5967个结果
Container With Most Water
https://oj.leetcode.com/problems/container-with-most-water/Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai...
分类:其他好文   时间:2015-02-03 20:55:30    阅读次数:132
Bootstrap 3.0 学习笔记(二) —— 布局
容器(container)bootstrap 的布局从容器开始。1 2 ...3 Bootstrap 3 的containerclass 用于包裹页面上的内容。来看看 bootstrap.css 文件中的这个 .containerclass。1 .container {2 paddin...
分类:其他好文   时间:2015-02-03 16:56:19    阅读次数:157
idangerous.swiper小记
最近做了一个复杂的产品组合效果,里面有用到处地方用swiper控件来展示唉,说起来产品经理就在旁边的一段血泪史啊~ 前前后后改了三四个版本。每天起来的工作就是改改改~~~做第一版本的时候卡点就是在外层swiper-container要设置一个固定宽度,无奈我想用宽度高度100%来计算,结果总是计算不...
分类:其他好文   时间:2015-02-03 16:36:59    阅读次数:292
通过CSS效果:隔行变色和鼠标掠过高亮,学习JQuey的css()、hover()方法
下面的HTML和CSS能够实现div的隔行变色: #container div{ width:200px; height:25px; font-size:14px; text-align:center; color:#474747; } .even{ background-color: #EDEDED; } .odd{ ba...
分类:Web程序   时间:2015-02-01 12:09:11    阅读次数:134
string Type
Notes from C++ PrimerOperationsOperations of string support lots of operations ofsequential container.string s; define a new empty string object, name...
分类:其他好文   时间:2015-01-31 23:11:20    阅读次数:218
[Documentation]UIImageView官方文档中文翻译
An image view object provides a view-based container for displaying either a single image or for animating a series of images. For animating the image...
分类:其他好文   时间:2015-01-31 19:11:12    阅读次数:269
jquery 操作对象和集合
1.$.trim(str)删除传入的字符串前后的空格、换页、制表、换行、回车等特殊字符。原始字符串str的值不会改变,返回改变后的新值。2.$.each(container,callback)迭代器,对container集合进行循环操作。callback是每迭代集合体的一个对象需要执行的函数,可以存...
分类:Web程序   时间:2015-01-30 22:18:28    阅读次数:345
php中的设计模式之--迭代器模式
<?php /** 迭代器模式 :迭代器(Iterator)模式,又叫做游标(Cursor)模式。GOF给出的定义为: 提供一种方法访问一个容器(container)对象中各个元素,而又不需暴露该对象的内部细节。 迭代器模式是为容器而生。很明显,对容器对象的访问必然涉及到遍历算法。你可以一股脑的将遍历方法塞到容器对象中去; 或者根本不去提供什么遍历算法,让使用容器的人自己去实现去吧。 (1) 需...
分类:Web程序   时间:2015-01-30 10:43:39    阅读次数:175
EL表达式
一.简介 只有支持Servlet 2.4 / JSP2.0 的Container,才可以在JSP 网页中直接使用EL 。 EL语法: (1) ${ } 表示取出某个域内某个变量的值,不指定范围,则由page-->request-->session-->application找下去, 若中途找到就返回...
分类:其他好文   时间:2015-01-29 19:10:44    阅读次数:100
leetcode.11---------Container With Most Water
题目:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). ...
分类:其他好文   时间:2015-01-29 17:48:28    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!