上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页

Bootstrap 有一个 class 属性叫做 well,它的作用是为设定的列创造出一种视觉上的深度感

摘要: Bootstrap 有一个 class 属性叫做 well,它的作用是为设定的列创造出一种视觉上的深度感 阅读全文
posted @ 2017-11-01 14:30 芸芸众生! 阅读(1124) 评论(0) 推荐(0)

form-control给input添加这个class类后就会使用bootstrap自带的input框

摘要: <input type="text" class="form-control" id="name" placeholder="请输入名称"> 阅读全文
posted @ 2017-10-31 20:21 芸芸众生! 阅读(5232) 评论(0) 推荐(0)

bootstrap文字居中!

摘要: .text-center就可以将文字居中 阅读全文
posted @ 2017-10-31 14:40 芸芸众生! 阅读(1225) 评论(0) 推荐(0)

img-responsive class图片响应式

摘要: 在BootStrap中,给<img>添加 .img-responsive样式就可以实现图片响应式。 1 <img src="..." class="img-responsive"> 1 <img src="..." class="img-responsive"> 1 <img src="..." c 阅读全文
posted @ 2017-10-31 14:36 芸芸众生! 阅读(1456) 评论(0) 推荐(0)

bootstrap中container 类和container-fluid类的区别container类所谓的自适应也是通过margin的改变来完成,container-fluid类的百分百宽度是指在固有的15px的padding前提下宽度总是当前视口的宽度。

摘要: container 类和container-fluid类的区别体现在是否有随视口宽度改变的margin存在。 container类所谓的自适应也是通过margin的改变来完成,container-fluid类的百分百宽度是指在固有的15px的padding前提下宽度总是当前视口的宽度。 阅读全文
posted @ 2017-10-31 14:23 芸芸众生! 阅读(238) 评论(0) 推荐(0)

required输入框为必填项

摘要: required <input type="text" placeholder="cat photo URL" required> 阅读全文
posted @ 2017-10-30 21:27 芸芸众生! 阅读(2573) 评论(0) 推荐(0)

input左减右加

摘要: <!DOCTYPE html><html lang="zh"><head> <meta charset="UTF-8"> <style> </style></head><body><input id="min" name="" type="button" value="-" /><input id= 阅读全文
posted @ 2017-10-30 20:46 芸芸众生! 阅读(386) 评论(0) 推荐(0)

可以拖动的导航条

摘要: <!DOCTYPE html><html lang="zh"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" cont 阅读全文
posted @ 2017-10-30 19:24 芸芸众生! 阅读(276) 评论(0) 推荐(0)

forEach 列出数组的每个元素:

摘要: 数组.forEach便利所有的元素 <!DOCTYPE html><html><head><meta charset="utf-8"><title>菜鸟教程(runoob.com)</title></head><body> <p>点击按钮计算数组所有元素相加的总和。</p><button oncli 阅读全文
posted @ 2017-10-30 11:05 芸芸众生! 阅读(552) 评论(0) 推荐(0)

ajax发送请求是图标转圈圈实现

摘要: css部分 .load-img{ //控制图标大小width:40px;height:40px;margin:100px;border-radius:50%;-webkit-animation:circle 1s infinite linear;/*匀速 循环*/margin: 0 auto;}@- 阅读全文
posted @ 2017-10-26 19:38 芸芸众生! 阅读(996) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页