1.基准点是baseline2.ascent:是baseline之上至字符最高处的距离3.descent:是baseline之下至字符最低处的距离4.leading:是上一行字符的descent到下一行的ascent之间的距离,也就是相邻行间的空白距离5.top:是指的是最高字符到baseline的...
分类:
其他好文 时间:
2015-03-21 19:50:57
阅读次数:
143
window.onload = function() { var canvas = document.getElementById("canvas"), context = canvas.getContext("2d"); var gradient =context.cre...
分类:
编程语言 时间:
2015-03-20 06:55:04
阅读次数:
116
android字体显示涉及如下参数:1. 基准点是baseline;2. Ascent是baseline之上至字符最高处的距离;3. Descent是baseline之下至字符最低处的距离;4. Leading是上一行字符的descent到下一行的ascent之间的距离;5. Top指的是指的是最高字符到baseline的值,即ascent的最大值;6. 同上,bottom指的是最下字符到base...
分类:
移动开发 时间:
2015-03-12 15:11:46
阅读次数:
142
Shape的属性:solid 描述:内部填充 属性:android:color 填充颜色 size 描述:大小 属性: android:width 宽 android:height 高gradient 描述:渐变色 属性: andr...
分类:
移动开发 时间:
2015-03-11 23:18:51
阅读次数:
167
android:angle="180"
android:endColor="@android:color/black"
android:centerColor="@android:color/holo_red_dark"
android:startColor="@android:color/white" >
关...
分类:
移动开发 时间:
2015-03-05 10:51:48
阅读次数:
266
.bg{
width:300px;
height:50px;
background:#caca8c;
background-image:-webkit-gradient(
linear,50% 0,0 100%,
from(transparent),
color-stop(.5,transparent),...
分类:
Web程序 时间:
2015-03-03 16:42:15
阅读次数:
449
demo下载地址:http://download.csdn.net/download/tjcyjd/8468581
直接把代码贴出来,如下:
.linear{
width:100%;
height:auto;
FILTER: progid:DXImageTransform.Microsoft.Gradient(gradien...
分类:
Web程序 时间:
2015-03-03 13:37:59
阅读次数:
208
1、颜色--rgba 6、过渡--transition2、透明度--opcity 7、动画--animation3、圆角--border-radius 8、渐变--gradient 4、投影--shadow5、变...
分类:
Web程序 时间:
2015-03-03 11:31:59
阅读次数:
134
本篇是根據+Roman Nurik在 2014/11/24 發佈的一篇G+而來。看到他發文後,起了好奇心,就根據他提出的方法嘗試著實作,並將之排列呈現,直接從視覺上做個比較。他在 G+ 的發文中提出一個做法,改良原本看起來有點單調的漸層,改變線性到三次項的梯度呈現,使之看起來更加順眼,而將之定名為「...
分类:
移动开发 时间:
2015-03-03 11:21:53
阅读次数:
517
CSS3 Maker(一个比较综合的 css3.0 在线制作工具)
http://www.css3maker.com/
CSS3.0 渐变背景制作
http://www.internetke.com/jsEffects/2014120803/
http://www.tanktan.com/blog/gradient-editor/...
分类:
Web程序 时间:
2015-03-02 13:11:12
阅读次数:
176