<style type="text/css"> .container{border:1px solid red; height:200px; display: flex; justify-content: center; align-items: center; text-align:center; ...
分类:
其他好文 时间:
2016-06-02 11:20:42
阅读次数:
108
<body> 账号:<input type="text"><span style="color: red"></span> <p>密码:<input type="password"><span style="color: red"></span></p> <p><button>登陆</button> ...
分类:
其他好文 时间:
2016-06-01 23:08:05
阅读次数:
544
系统环境:Red Hat Enterprise Linux Server 6 1.停止mysqld服务 [root@Server huage]# service mysqld stop 2.以跳过授权的方式启动mysql [root@Server huage]# mysqld_safe --skip ...
分类:
数据库 时间:
2016-06-01 19:57:38
阅读次数:
164
环境介绍: 系统:ubuntu14.04redis版本:redis-2.8.24监控工具:Redis Live、redis-stat Redis 安装 wget -c http://download.redis.io/releases/redis-2.8.24.tar.gz tar zxmf red ...
分类:
其他好文 时间:
2016-06-01 19:38:33
阅读次数:
210
1、样式属性操作 1)设置样式属性操作 ①设置单个样式: // 第一个参数表示:样式属性名称 // 第二个参数表示:样式属性值 $(selector).css(“color”, “red”); ②设置多个样式(也可以设置单个) // 参数为 {}(对象) $(selector).css({“colo ...
分类:
Web程序 时间:
2016-06-01 12:51:08
阅读次数:
236
使用jQuery的方式来操作DOM更加的简洁、方便,统一的调用方式方便学习并且可降低学习成本。 1、样式属性操作 1)设置样式属性操作 ①设置单个样式: // 第一个参数表示:样式属性名称 // 第二个参数表示:样式属性值 $(selector).css(“color”, “red”); ②设置多个 ...
分类:
Web程序 时间:
2016-06-01 06:47:08
阅读次数:
249
css:层叠样式表-->表现层(样式层) 样式规则语法:选择器+声明块(声明(属性+值)) p{color:red} 有多个声明时用;分开 样式分类 行内样式 <p style="color:red"></p> 内部样式 <head> <style type="text/css"> p{ color ...
分类:
Web程序 时间:
2016-05-31 22:20:04
阅读次数:
135
In standard rendering, the red, green and blue values for a pixel are each represented by a fraction in the range 0..1, where 0 represents zero intens ...
分类:
其他好文 时间:
2016-05-31 22:17:42
阅读次数:
243
行内样式: <p style="color:red"> 将style写在 元素p的后面 表示样式设置 color代表颜色 “:“ 冒号代表设置 red是什么颜色 内部样式: 在style中 声明如: <style> p { color:blue } P代表要设定属性的元素 将设定写在大括号内 然后用 ...
分类:
Web程序 时间:
2016-05-31 22:11:49
阅读次数:
779
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, ...
分类:
其他好文 时间:
2016-05-31 10:15:50
阅读次数:
119