.element { position: relative;} /*replace the content value with thecorresponding value from the list below*/ .element:before { content: "\f000"...
分类:
Web程序 时间:
2015-01-07 16:42:10
阅读次数:
205
css3content的用法
#gaga::before{
font-family:"gaga-font-icon";
content:'\1234'
}
gaga
实体的用法
#gaga{
font-family:"gaga-font-icon";
}
ሴ
效果是一样,content的优势在于灵活的控制,而且减少节点,实体如果要...
分类:
Web程序 时间:
2015-01-07 14:57:08
阅读次数:
166
摘要: 在我们制作页面的时候经常会遇到内容垂直居中的需求,今天分享5种垂直居中的方法,每种方法都有自己的优缺点,可以选择自己喜欢的方式。以下代码都经过本人亲自测试。line-height: vertical-align:middle; :before: ...
分类:
Web程序 时间:
2015-01-07 10:38:45
阅读次数:
162
Response.getWriter() 和Response.getOutputStream冲突导致的异常...
分类:
编程语言 时间:
2015-01-06 21:42:22
阅读次数:
491
转自赞生博客效果如图:HTML代码部分(所有效果共用):加载中…我们从左到右从上到下列出效果对应的CSS代码。1#效果CSS代码:.load1 .loader,.load1 .loader:before,.load1 .loader:after {background: #FFF;-webkit-a...
分类:
Web程序 时间:
2015-01-06 15:18:49
阅读次数:
203
Java注解((Annotation)的使用方法是@注解名 ,能通过简单的词语来实现一些功能。在junit中常用的注解有@Test、@Ignore、@BeforeClass、@AfterClass、@Before、@After、@Runwith、@Parameters如果Run as --->Jun...
分类:
其他好文 时间:
2015-01-06 11:40:40
阅读次数:
183
First it looks to see whether there is a quote before the list; if there is, the interpreter just gives us the list.On the other hand, if there is no ...
分类:
其他好文 时间:
2015-01-05 16:20:05
阅读次数:
144
#!/bin/bash?
#批量清理某目录下的文件或移除某目录下的文件
basedir=/data/db/renewal/snapshots???#执行目录
clear_before_days=95? ?????#清理的时间,100代表100天前的数据
logdir=/data/log/clea...
分类:
其他好文 时间:
2015-01-04 19:47:02
阅读次数:
129
before和after都是前端常用到的伪元素,在中文的直接翻译里,before代表着之前after代表着之后在css中,也大概是这样子;如下代码:HTML代码<pclass="box">thisiselement</p>css代码//before中文翻译为在前
//after中文翻译为在后
p.box{
width:500px;
border:soli..
分类:
其他好文 时间:
2015-01-04 19:40:00
阅读次数:
189
问题:存储一个日期的序列,例如保存用户一年的登录时间序列,20140201,20130102这样两个日期,如果用INT那么需要八个字节,用STRING就更多了。解决:通过bit来存储一天,具体的组织形式是这样的struct daybits { Year[] before_years; Year[.....
分类:
其他好文 时间:
2015-01-04 16:38:13
阅读次数:
133