使用CSS设置字体和文本样式: 1.定义字体类型font-family 用法: font-family:name; font-family:ncursive|fantasy|monospace|serif|sans-serif name表示字体名称,可指定多种字体,用空格隔开。按优先顺序排列。如果字 ...
分类:
Web程序 时间:
2016-08-16 22:02:55
阅读次数:
374
<style type="text/css"> body, div, span { margin: 0; padding: 0; font-family: "\5FAE\8F6F\96C5\9ED1", Helvetica, sans-serif; font-size: 14px; } html, ...
分类:
其他好文 时间:
2016-08-02 16:40:50
阅读次数:
223
body { font: 100% Lucida Sans, Verdana; margin: 20px; line-height: 26px;}span { color: #4caf50;}.logo { font-family: fontawesome; font-size: 37px; let ...
分类:
Web程序 时间:
2016-07-25 00:10:45
阅读次数:
172
body { font: 100% Lucida Sans, Verdana; margin: 20px;}span { color: red;}.logo { font-family: Georgia; font-size: 37px; letter-spacing: 3px; line-heig ...
分类:
Web程序 时间:
2016-07-25 00:05:01
阅读次数:
194
Google Fonts 的介绍:Google Fonts 并不是简单的字体下载站 Google Fonts 地址:https://www.google.com/fonts 左上角可以输入查找的字体名称, 比如输入 Source Sans Pro. 点击字体之后,可以选择使用的字体样式。 选择字体左 ...
分类:
Web程序 时间:
2016-07-19 18:44:09
阅读次数:
211
hi,all:
问题一、android系统支持什么字体库?
1、Android系统默认支持三类字体家族,分别为:“serif”, “sans-serif”, “monospace",那如何证明?具体论证与定义详见下面的知识点。
这三类字体家族,每一类都包括若干个*.ttf的字体文件。 除此之外,每个设备厂商在此基础上,都会额外增加一些自己定义的字体文件*.ttf,...
分类:
移动开发 时间:
2016-07-19 10:19:35
阅读次数:
393
linux atom 不支持中文 1.首先在ubuntu下安装泉驿正黑字体 sudo apt-get install ttf-wqy-* 2.Edit > Preferences > Settings > Editor Settings > Font Family 'DejaVu Sans Mono ...
分类:
系统相关 时间:
2016-07-11 17:02:00
阅读次数:
216
方法一:cssreset/*reset*/
html{color:#000;background:#fff;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}
body{font:12px/1Tahoma,Helvetica,Arial,"\5b8b\4f53",sans-serif;}
img{border:none;}
em,stro..
分类:
Web程序 时间:
2016-07-08 12:08:37
阅读次数:
1114
CSS,font-family,好看常用的中文字体 例1(小米米官网):font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif; 例2(淘宝技术研发中心):font: 12px/1.5 Tahoma,Helvetica,Arial,'宋 ...
分类:
Web程序 时间:
2016-07-05 12:02:42
阅读次数:
250
@charset "utf-8"; * { margin:0; padding:0; }body{ font-family: "宋体",Arial,sans-serif; font-size: 14px; color:#000; text-align:center; }ul,ol,li { list ...
分类:
Web程序 时间:
2016-07-02 20:11:37
阅读次数:
269