//例如: UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; button.frame = CGRectMake(50,50,100,40); button.backgroundColor = [UIColor blue ...
分类:
移动开发 时间:
2019-10-17 23:43:57
阅读次数:
135
方法一:设置成背景图片 style{background:url(../image/2.jpg);} 方法二:直接设置成圆角样式 style{border-top-left-radius:20px;border-top-right-radius:20px;} ...
分类:
其他好文 时间:
2019-10-12 10:39:52
阅读次数:
82
设置页面布局的时候。遇到了设置图片圆角问题,然后试了几种方法,都可以 第一种: <Border CornerRadius="50" BorderBrush="Blue" BorderThickness="2" Width="200" Height="200"> <Border.Background> ...
1.原理分析和效果图 先上效果图: 屏幕适配上使用rem适配,假设用户的手机屏幕最下宽度是375px,而谷歌浏览器最小的字体大小为12px,所以我以375px为标准尺寸进行rem适配,即375px的屏幕设置html标签字体大小为12px,随着屏幕宽度增大,1rem也随之增大 表盘使用的是圆角,使之展 ...
分类:
其他好文 时间:
2019-10-02 22:41:03
阅读次数:
128
1.用到的ps快捷键? 1.更换背景色:alt+delete; 2.更改图层大小:ctr+t; 3.打开标尺:ctr+r; 4.创建圆角:选择-修改-平滑; 2.突破750px,达到1920px的大图? 3.设置map热点? 1.dreamweaver插入图片; 2.点击图片,在“地图”设画出热点区 ...
分类:
其他好文 时间:
2019-10-01 16:53:30
阅读次数:
119
原文:WPF图片,DataGrid等实现圆角 ... ...
一、圆角效果 border-radius 使用方法: border-radius:10px; /* 所有角都使用半径为10px的圆角 */ border-radius: 5px 4px 3px 2px; /* 四个半径值分别是左上角、右上角、右下角和左下角,顺时针 */ 不要以为border-rad ...
分类:
Web程序 时间:
2019-09-22 02:00:42
阅读次数:
124
径向渐变(radial gradients):从起点到终点颜色从内而外沿进行圆形渐变。 语法 background:radial-gradient(center,shape size,start-color,……,last-color); 径向渐变-设置形状 语法: background:radia ...
分类:
Web程序 时间:
2019-09-20 18:25:39
阅读次数:
115
1.加入依赖 2.然后直接在.xml布局文件中使用,先贴上布局文件代码,结尾附上效果图 3.以下是效果图(瀑布流效果),图片的圆角本博客中有教程 ...
分类:
其他好文 时间:
2019-09-17 12:43:52
阅读次数:
91
标准和模型、怪异盒模型;(IE盒模型content包含了 border和padding)。 css实现圆角box-radius ,阴影(box-shadow) ; 对文字加特效,text-shadow,线性渐变,(gradient),旋转(transform); transfrom:rotate(9 ...
分类:
其他好文 时间:
2019-09-07 01:31:30
阅读次数:
103