background-size:cover; //等比放大背景图片background-size:contain; //等比缩小背景图片-webkit-border-radius: 15px;//圆角text-shadow是给文本添加阴影效果,box-shadow是给元素块添加周边阴影效果。基本语法...
分类:
Web程序 时间:
2016-01-09 18:22:58
阅读次数:
135
Css3圆角讲解:想必大家对于图片,背景圆角,都不陌生吧,圆角语法:border-radius:圆角值;这个值可以使用:em ,ex,pt,px,百分比;Border-radius跟margin,padding差不多Border-radius:lefttop,righttop,rightbottom...
分类:
Web程序 时间:
2016-01-06 09:07:22
阅读次数:
310
1、不固定宽高的fixed框,水平垂直居中 .tab{ position: fixed; width: 302px; border: 1px solid #cccccc; border-radius: 5px; left: 50%; top: 50%; transfor...
分类:
Web程序 时间:
2016-01-05 18:07:03
阅读次数:
167
Bootstrap提供了四种应用于图片的class,分别是:
img-rounded 添加 border-radius:6px 来获得图片圆角
img-circle 添加 border-radius:50% 来让整个图片变成圆形
img-thumbnail 添加一些内边距(padding)和一个灰色的边框
img-responsive 图片响应式
1、img-...
分类:
其他好文 时间:
2016-01-03 00:47:07
阅读次数:
267
热备份冗余技术HSRP1、什么是热备份冗余技术?热备份冗余技术(HSRP)就是将多台路由器组成一个“热备份组”,形成一个虚拟路由器,并在组内选择一个活动路由器(active),一个备份路由器。只有活动路由器转发数据,当活动路由器down掉之后备份路由器备份路由器将自己选为活动..
分类:
其他好文 时间:
2015-12-31 07:21:41
阅读次数:
255
HSRP:热备份路由选择协议Cisco的私有技术作用:确保了当网络边缘设备或接入链路出现故障时,用户通信能迅速并透明的恢复,以此为IP网络提供冗余性三层交换中使用HSRP组成员:活跃路由器、备份路由器、虚拟路由器和其他路由器活跃路由器:转发发送到虚拟路由器的数据包备份路由..
分类:
其他好文 时间:
2015-12-30 13:54:42
阅读次数:
250
图片的外层元素添加border属性,border-radius属性设置成最大.img{width: 110px; height: 110px; border: 5px solid #ccc; border-radius: 999px;}.img img{width: 110px; height: 1...
分类:
移动开发 时间:
2015-12-29 19:21:56
阅读次数:
165
效果图:.ling_box { color: #303134; border-radius: .8rem; box-shadow: .2rem .2rem .1rem #ccc; background-color: #fff; margin: 10px 2%; height: 6.4rem; dis...
分类:
Web程序 时间:
2015-12-27 14:46:36
阅读次数:
135
使用css3进行增强1,为元素创建圆角border-radius:25px;.about img{ border: 5px solid #bebebe; float: left; margin-right: 5px; border-radius: 10px;}border-...
分类:
Web程序 时间:
2015-12-26 20:48:52
阅读次数:
252