background-size 属性规定背景图像的尺寸。
语法
background-size: length|percentage|cover|contain;
length 设置背景图像的高度和宽度。
第一个值设置宽度,第二个值设置高度。
如果只设置一个值,则第二个值会被设置为 "auto"。
percentage 以父元素的百分比来设置背景图像的宽度和高度。第一个值设置宽度,第二...
分类:
Web程序 时间:
2015-01-10 01:11:27
阅读次数:
2181
Problem Description There are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even include...
分类:
其他好文 时间:
2015-01-10 01:04:54
阅读次数:
255
1,transition属性
个人非常习惯用transition过度属性,简单易用。大家称他为animation简化版本。
例如:
.contain{
width: 392px;
position: relative;
bottom: -20px;
opacity: 0;}
.contain.on{
bottom: 0;
opacity: 1;
tra...
分类:
Web程序 时间:
2015-01-09 09:18:58
阅读次数:
319
硬盘分区及挂载操作步骤:1. 查看未挂载的硬盘(名称为/dev/xvdb)# fdisk -lDisk /dev/xvdb doesn't contain a valid partition table2.创建分区# fdisk /dev/xvdb...输入nCommand (m for help)...
分类:
其他好文 时间:
2015-01-08 20:02:09
阅读次数:
187
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2015-01-07 20:54:50
阅读次数:
140
Subsets IIGiven a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descend...
分类:
其他好文 时间:
2015-01-06 21:19:17
阅读次数:
135
Running out of disk space in the pg_xlog directory is a fairly common Postgres problem. This important directory holds the WAL (Write Ahead Log) files. (WAL files contain a record of all changes ma...
分类:
数据库 时间:
2015-01-06 18:20:49
阅读次数:
844
1.Caused by: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for 区别于2.x为,避免直接拷贝过来而不修改;2.java.sql.SQLException....
分类:
其他好文 时间:
2015-01-06 17:40:41
阅读次数:
176
background-size设置背景图片的大小,以长度值或百分比显示,还可以通过cover和contain来对图片进行伸缩。语法:background-size: auto | | | cover | contain取值说明:1、auto:默认值,不改变背景图片的原始高度和宽度;2、:成对出现.....
分类:
其他好文 时间:
2015-01-06 11:39:08
阅读次数:
125
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-01-05 00:31:33
阅读次数:
188