码迷,mamicode.com
首页 >  
搜索关键字:fontsize    ( 355个结果
ffmpeg/ffplay 添加实时的时间水印 (转)
右上角添加时间水印 ffmpeg -i 0.ts -vf drawtext="fontfile=arial.ttf:x=w-tw:fontcolor=white:fontsize=30:text='%{localtime\:%H\\\:%M\\\:%S}'" 123.ts Input #0, mpe ...
分类:其他好文   时间:2017-03-31 23:31:42    阅读次数:876
WPF-Binding对数据的检验
设置Binding的ValidationRules属性对Binding进行检验 <StackPanel> <TextBox x:Name="txtAge" FontSize="30" Foreground="Red"></TextBox> <TextBlock x:Name="errorSummar ...
分类:Windows程序   时间:2017-03-27 13:32:59    阅读次数:243
rem 响应 js函数
size();window.onresize = function(){ size();}function size(){ var htnl_o=document.getElementsByTagName("html")[0]; htnl_o.style.fontSize = window.inne ...
分类:Web程序   时间:2017-03-26 20:03:47    阅读次数:178
手机字体大小 px - rem javascript 换算
(function () { function o() { document.documentElement.style.fontSize = (document.documentElement.clientWidth ) / 31.25 + "px" } var e = nu... ...
分类:移动开发   时间:2017-03-23 16:38:54    阅读次数:152
学习记录
HTML标签1、<strong><strong>标签和<em>标签一样,用于强调文本,但它强调的程度更强一些。2、<font><font>规定文本的字体、字体尺寸、字体颜色。例如:<fontsize="3"color="red">Thisissometext!</font><fontsize="2"color="blu..
分类:其他好文   时间:2017-03-06 15:15:27    阅读次数:147
移动端微信公众号开发中问题记录及解决方案
1. 关于字体大小、图片大小、块元素大小的确定,目前一种方法,使用rem,rem的计算方式 document.documentElement.style.fontSize = document.documentElement.clientWidth / 10.8 + 'px'; 其中10.8是设计图 ...
分类:微信   时间:2017-02-28 15:06:12    阅读次数:1151
移动端之js控制rem,适配字体
方法一:设置fontsize 按照iphone 5的适配 1em=10px 适配320 方法二:按照iPhone6的尺寸设计 是375/25=15px 方式三:采用media 推荐使用的 js方式设置 ...
分类:移动开发   时间:2017-02-23 17:27:59    阅读次数:400
移动端 html基值(转载)
这个6.4就是根据设计稿的横向宽度640来确定的,假如你的设计稿是750 那么 html.style.fontSize = windowWidth / 7.5 + 'px'; (1)至此,font-size的基础值就确定好了,而且知道该font-size值是手机deviceWidth跟设计稿的比例值 ...
分类:移动开发   时间:2017-01-20 14:47:23    阅读次数:215
tp框架之验证码
控制器 function yzm() { /*$config = array( 'fontSize' => 30, // 验证码字体大小 'length' => 4, // 验证码位数 'useImgBg'=>true, 'useZh'=>true, 'fontttf'=>'SIMYOU.TTF', ...
分类:其他好文   时间:2016-12-27 13:58:42    阅读次数:386
iOS 字符串的宽度和高度自适应
//获取字符串的宽度 -(float)widthForString:(NSString *)value fontSize:(float)fontSize andHeight:(float)height { UIColor *backgroundColor=[UIColor blackColor]; ... ...
分类:移动开发   时间:2016-12-26 21:49:54    阅读次数:288
355条   上一页 1 ... 11 12 13 14 15 ... 36 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!