技巧:通过一个DIV标签实现边框内圆角效果 背景知识:box-shadow, outline, “多重边框” 补充说明:博客园的编辑器把我写的border-radius属性给删掉了,所以看到的页面效果里没有圆角。 实现效果:一个容器的边框或者描边的四个角,在内部是有圆角的,而在外部依然保持直角的形状 ...
分类:
Web程序 时间:
2016-11-29 07:23:13
阅读次数:
240
css:.upload-img{
width:80%;
position:fixed;
top:50%;
left:50%;
margin-left:-40%;
background-color:#fff;
border-radius:10px;
z-index:1000;
display:none;
}
.upload-img>p:first-child{
height:50px;
line-height:50px;
border-bottom:2pxsolid#ccc;
padding:020px..
分类:
移动开发 时间:
2016-11-29 00:02:52
阅读次数:
215
1.清除input边框蓝边: outline-style: none; 2.网站名/favicon.ico:这个地址能够找到所有网站的图标 3.font : 4.去除下划线。删除线。 text-decoration: none; 5.文本框不能变大 resize: none; 6.去掉li标签前的小 ...
分类:
Web程序 时间:
2016-11-28 20:41:52
阅读次数:
194
*以下技巧均源自于Lea Verou所著《CSS Secrets》 自适应椭圆与圆角构造 众所周知,在css上构造圆形只需要将border-radius属性值设为边长的一半即可。 显示效果如下: 当我们在innerTxt中添加过多的内容时,会得到如下的效果: 如果我们想要一个自适应的椭圆的话,那么b ...
分类:
Web程序 时间:
2016-11-28 14:46:10
阅读次数:
161
html5增加了标签: <header>头部 <aside>侧边栏 <section>一个区块 <footer>尾部 css3增加的内容: border-radius 圆角 box-shadow 盒阴影 text-shadow 文字阴影 选择器: ...
分类:
Web程序 时间:
2016-11-27 16:44:53
阅读次数:
594
今天辅导日学习了 :before 和 :after . 作用:给选定的对象就是某个元素的前和后元素加内容. 如图: 效果: 在CSS里创建圆角 border-radius: 代码如图: ...
分类:
其他好文 时间:
2016-11-27 00:10:43
阅读次数:
137
1. The three principles of OOP are encapsulation(封装性), inheritance(继承性) and polymorphism(多态性). example: A subtype is guaranteed to have all the member ...
分类:
其他好文 时间:
2016-11-26 14:11:56
阅读次数:
254
PageBarHelper 页面引入样式pageBarStyle.css 后台代码 DAL层代码 BLL层代码 Model层 aspx页面部分,两种不同分页方式 ...
分类:
其他好文 时间:
2016-11-26 14:11:46
阅读次数:
212
<!DOCTYPEhtml><html><headlang="en"><metacharset="UTF-8"><title></title><style>#img1{border-radius:100%;width:200px;height:200px;}#img1:hover{animation:myimg5slinearinfinite;}@keyframesmyimg{from{transform:rotate(0de..
分类:
其他好文 时间:
2016-11-24 09:37:04
阅读次数:
1153
css边框的三个属性 border: 用法:.box{ border:border-width||border-style||border-color;}(第三个颜色使可选的) css3中可以创建圆角边框,添加阴影框,并作为边框的形象而不使用设计程序 用法 :.box{ border-radius: ...
分类:
Web程序 时间:
2016-11-22 12:02:27
阅读次数:
255