Face your past without regret. Handle your present with confidence.Prepare for future without fear. keep the faith and drop the fear. 面对过去无怨无悔,把握现在充满信...
分类:
Web程序 时间:
2015-03-09 16:03:13
阅读次数:
239
CSS中除了我们经常写的那些内容外 还有像@charset @import @namespce @keyframes @media @page @font-face @viewport等。 1, @charset 在外部样式表文件内使用。指定该样式表使用的字符编码。该规则后面的分号是必需的,如...
分类:
Web程序 时间:
2015-03-09 00:17:39
阅读次数:
279
一、前言 过去我们总通过图片来美化站点的LOGO、标题、图标等,而现在我们可以通过@font-face获取另一种更灵活的美化方式。二、看看例子 /* 定义 */@font-face {...
分类:
Web程序 时间:
2015-03-07 21:15:57
阅读次数:
235
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}<!--
/* Font Definitions */
@font-face
{font-family:宋体;...
分类:
其他好文 时间:
2015-03-07 18:40:23
阅读次数:
236
几乎所有浏览器(包括最古老的IE6)也支持的网络字体@font-face的用法是:@font-face { font-family: 'MyWebFont'; src: url('webfont.eot'); /* IE9 Compat Modes */ src: url('webfont.e...
分类:
其他好文 时间:
2015-03-05 12:38:05
阅读次数:
106
在设计布局网页时 经常想要用一些比较好看的字体,比如微软雅黑,这个字体在近年来在网页设计中运用越来越平常, 然而所使用的字体也只有自己能看到 到别的机子上 又恢复了原来的宋体神马的。经过一位高手的提点,能用CSS直接实现,查阅了部分资料 并经过测试 总结下列方法来实现网页中的自定义字体我们很容易发现...
分类:
Web程序 时间:
2015-03-05 12:27:17
阅读次数:
207
@font-face是CSS3中的一个模块,他主要是把自己定义的Web字体嵌入到你的网页中,随着@font-face模块的出现,我们在Web的开发中使用字体就不用再为只能使用Web安全字体烦恼了!肯定会有人问,这样的东西IE能支持吗?我告诉大家@font-face这个功能其实早在IE4就支持了,你肯...
分类:
Web程序 时间:
2015-03-05 12:19:52
阅读次数:
398
What is TypographyWhen we talk about typography, it's a big subject! Which of the following fall under the umbrella of typography?Choosing a font face...
分类:
其他好文 时间:
2015-03-05 06:48:03
阅读次数:
344
DiceTime Limit:1000MS Memory Limit:65536KBDescriptionThere are 2 special dices on the table. On each face of the dice, a distinct number was written. ...
分类:
编程语言 时间:
2015-03-03 22:01:14
阅读次数:
196
在iOS UILabel,UITextView,UIAlertView等控件中都可以使用
使用方法如下
NSString *s = [NSString stringWithFormat:@"This is a smiley \ue415 %C face",0xE05A];
NSLog(@"11----%@",s);
label.text=s;
以下是对应的表情编码,但是新版sdk...
分类:
移动开发 时间:
2015-03-03 11:40:50
阅读次数:
1802