通过CSS3,我们能够创建动画,这可以在许多网页中取代动画图片、Flash动画以及JavaScript。@keyframesmyfirst
{
from{background:red;}
to{background:yellow;}
}
@-moz-keyframesmyfirst/*Firefox*/{
from{background:red;}
to{background:yellow;}
}
@-webkit-keyframesmyf..
分类:
Web程序 时间:
2017-06-15 16:22:15
阅读次数:
156
参考官网https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ 一、安装 1、配置yum管理包 1)、在路径/etc/yum.repos.d/下创建文件mongodb-org-3.4.repo cd /etc/yum. ...
分类:
数据库 时间:
2017-06-14 13:07:11
阅读次数:
287
首先 制作一个验证码界面 .aspx 后台代码 protected void Page_Load(object sender, EventArgs e) { List<Color> clist = new List<Color>(); clist.Add(Color.Red); clist.Add( ...
分类:
其他好文 时间:
2017-06-14 02:32:22
阅读次数:
188
子选择器 还有一个比较有用的选择器子选择器,即大于符号(>),用于选择指定标签元素的第一代子元素。如右侧代码编辑器中的代码: .food>li{border:1px solid red;} 这行代码会使class名为food下的子元素li(水果、蔬菜)加入红色实线边框。 <style type="t ...
分类:
Web程序 时间:
2017-06-14 00:01:35
阅读次数:
261
事先准备一张图片: UIImage *image = [UIImage imageNamed:@"red.png"]; 在iOS 5.0之前能够这么用: NSInteger leftCapWidth = image.size.width * 0.5f; NSInteger topCapHeight ...
分类:
移动开发 时间:
2017-06-13 19:47:10
阅读次数:
348
颜色表示方法: 1.使用单词 red 红色 green 绿色 yellow 黄色 blue 蓝色 purple 紫色 pink 粉色 gray 灰色 white 白色 black 黑色 orange 屎黄色 lightblue 浅蓝色 2.使用RGB(red green blue) 计算机三原色 值 ...
分类:
Web程序 时间:
2017-06-13 18:25:42
阅读次数:
163
<html> <head> <title>afdsfaf</title> <style> h1:nth-child(1){ color:red; } //在不支持cellspacing和collspacing时使用 // table{ border-collapse:collapse; border ...
分类:
Web程序 时间:
2017-06-12 00:52:21
阅读次数:
202
直接上代码 正所谓 人傻自带大常数 平衡树的几种姿势: AVL Red&Black_Tree 码量爆炸,不常用;SBT 出于各种原因,不常用。 常用: Treap 旋转 基于旋转操作和随机数堆 但不支持区间操作。 非旋转 基于随机数堆和拆分合并操作 常数较大 Spaly 完全基于旋转 各种操作 Sc ...
分类:
其他好文 时间:
2017-06-11 23:27:45
阅读次数:
319
CSS选择器 ID选择器 #ID{color:red} 类选择器 .class{color:blue} 属性选择器 注释:只有在规定了 !DOCTYPE 时,IE7 和 IE8 才支持属性选择器。在 IE6 及更低的版本中,不支持属性选择 [title]{color:green} 元素选择器 p{f ...
分类:
Web程序 时间:
2017-06-11 23:22:36
阅读次数:
161
To add alernative theme, we can use :host-context() selector from Angular. So it will apply 'border-color: red' only when host wrapper element has 'au ...
分类:
其他好文 时间:
2017-06-11 10:16:03
阅读次数:
115