码迷,mamicode.com
首页 >  
搜索关键字:radius    ( 2156个结果
未知高度、宽度,垂直水平居中
我不知道我的宽度和高是多少,我要实现水平垂直居中 .wrapper { padding: 200px 20px; background:orange; color:#fff; position:absolute; top:50%; left:50%; border-radius:...
分类:其他好文   时间:2015-04-17 11:00:55    阅读次数:125
ArcMenu如何去修改类似小米的系统菜单
在源码中,这段是申请空间大小的,为那些子控件,不然你出现就没有地方显示了. @Override ?protected?void?onMeasure(int?widthMeasureSpec,?int?heightMeasureSpec)?{ ??final?int?radius?=?mRadi...
分类:移动开发   时间:2015-04-14 23:34:39    阅读次数:412
html中设置滚动条的样式
一、效果图      二、css     ::-webkit-srollbar-track-piece{background:none;-webkit-border-radius:0;} ::-webkit-scrollbar{width:8px;height:8px;} ::-webkit-scrollbar-thumb:vertical{height:50px;background-...
分类:Web程序   时间:2015-04-14 10:00:51    阅读次数:255
iOS 贝赛尔 圆形进度条
UIBezierPath *aPth = [UIBezierPath bezierPathWithArcCenter:CGPointMake(55, 65.f) radius:50.f startAngle:-M_PI_2 endAngle:M_PI_2 clockwise:YES]; ...
分类:移动开发   时间:2015-04-13 01:35:14    阅读次数:189
让IE也支持圆角
1.首先要下载一个压缩包,里面有一个微软的脚本文件(11KB),里面是IE利用VML矢量可标记语言作为画笔绘出圆角。下载地址:百度网盘下载使用方法:.main{border:2pxsolid#C0C0C0;-moz-border-radius:10px;-webkit-border-radius:1...
分类:其他好文   时间:2015-04-11 16:12:56    阅读次数:120
编写手机端自适应页面案例,springMVC代码,SpringMVC上传代码,去掉input框中原有的样式,使ios按钮没有圆角,css中的border-radius类似
1、编写的页面  pageEncoding="UTF-8"%> http://java.sun.com/jsp/jstl/core" prefix="c"%> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> http://www.w3.org/1999/xhtml"> pageEncoding="UTF-8"...
分类:移动开发   时间:2015-04-11 01:27:39    阅读次数:209
移动端border-radius的几个BUG
一、Android 2.3 自带浏览器不支持 %通常我们实现一个正圆只需要border-radius: 50%即可,大致代码如下.foo { width: 100px; height: 100px; border-radius: 50%; border: 1px solid ...
分类:移动开发   时间:2015-04-10 17:11:40    阅读次数:205
HTML5画布(圆形)
案例1: 您的浏览器不支持效果图:注释:(1)开始创建路径: cxt.beginPath();(2)创建圆形路径: cxt.arc( x , y , radius , startAngle , endAngle , anticlockwise ) x为绘制圆形...
分类:Web程序   时间:2015-04-10 10:53:58    阅读次数:169
第二章编程练习题2.2
import java.util.Scanner;public class Main2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); double radius = input.....
分类:其他好文   时间:2015-04-06 18:31:15    阅读次数:119
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!