简化问题后的代码 /* 原问题: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such t ...
分类:
其他好文 时间:
2018-04-28 23:51:23
阅读次数:
218
一、无继承性的属性 1、display 2、文本属性:vertical-align、text-decoration、text-shadow、white-space空白符的处理 等。 3、盒子模型属性:width、height、margin等。 4、背景属性:background、background ...
分类:
Web程序 时间:
2018-04-25 18:53:26
阅读次数:
173
题目: Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical. ...
分类:
其他好文 时间:
2018-04-17 20:53:52
阅读次数:
177
1 Flex 布局 首先聊聊Flex 布局,Flex 布局又称“弹性布局”,任何容器都可以指定为Flex布局,设置Flex布局会使得子元素的float、clear、vertical align失效 1.1 Flex属性 1.1.1 flex direction:决定项目的排列方向,默认自左向右水平排 ...
分类:
Web程序 时间:
2018-04-13 16:14:53
阅读次数:
299
连在一起的按钮:.btn-group 按钮工具栏:把一组btn-group 放进.btn-toolbar 垂直连在一起的按钮:.btn-group-vertical 分裂按钮下拉菜单 ...
分类:
其他好文 时间:
2018-04-12 17:56:20
阅读次数:
167
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 endpo ...
分类:
其他好文 时间:
2018-04-11 19:57:44
阅读次数:
222
一、table相关 table-layout:fixed; width:100% 水平居中 text-align:center; 垂直居中 vertical-align: middle; white-space:nowrap; word-break: keep-all; ...
分类:
Web程序 时间:
2018-04-09 14:57:24
阅读次数:
177
鼠标变小手 cursor: pointer; textarea禁止横向拖动 resize: vertical; ...
分类:
Web程序 时间:
2018-04-08 19:02:55
阅读次数:
189
单行 white-space: nowrap; text-overflow:ellipsis width: 200rpx; overflow:hidden; 多行display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clam ...
分类:
其他好文 时间:
2018-04-05 11:53:30
阅读次数:
195
using UnityEngine;using UnityEngine.EventSystems;using UnityEngine.UI;using System.Collections.Generic; public class Scroll_Vertical : MonoBehaviour, ...
分类:
其他好文 时间:
2018-04-02 20:14:01
阅读次数:
188