摘要: border-radius:由浮点数字和单位标识符组成的长度值。border-top-left-radius --- 左上border-top-right-radius --- 右上border-bottom-right-radius --- 右下border-bottom-left-radius --- 左下说明:第一个值是水平半径,如果为0则为直角圆形border-radius:50px; width:100px; height:100px; border:1px solid red;半圆border-radius: 100px 0px 0px 100px; height: 100px; 阅读全文
posted @ 2012-01-16 17:24 前端咖 阅读(723) 评论(0) 推荐(0)
摘要: 新增功能: 1、增加了上一年,下一年,上个月,下个月,今天功能。 2、今天着重显示。效果如下图展示: // 根据给定的参数year、month,返回某年某月的天数 //例如: MaxDayOfDate(2012,1)结果:31 function MaxDayOfDate(year, month) { switch (month) { case 1: case 3: case 5: case 7: case 8: case 10: case 12: return 31; case 4: case 6: case 9: case 11: return 30; case 2: if (year % 阅读全文
posted @ 2012-01-16 15:57 前端咖 阅读(568) 评论(1) 推荐(0)