上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 68 下一页
先看一小例子: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>css响应式</title> <style> body { padding: 0; margin: 0; } .container { widt Read More
posted @ 2015-09-12 20:28 tinyphp Views(229) Comments(0) Diggs(0)
Bootstrap响应式布局可以使用栅格化系统,其实就是不同的列组合,配合起来便能组合出强大的功能,系统会自动分为最多12列,超出12列会作为一个整体另起一行,像制作表格table的合并列,功能跟colspan类似。 使用方法: 1、包含在.container或.container-fluid中 < Read More
posted @ 2015-09-12 20:27 tinyphp Views(1027) Comments(0) Diggs(0)
Bootstrap幻灯片的制作利用到了Carousel插件,包含:左右箭头、图片、点点导航 图片1描述-可选 ... Read More
posted @ 2015-09-12 19:37 tinyphp Views(2880) Comments(0) Diggs(0)
浏览器宽度缩小到一定值时,导航显示为 <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container"> <!--折叠显示图标--> <div class="navbar-hea Read More
posted @ 2015-09-12 16:00 tinyphp Views(2189) Comments(0) Diggs(0)
Bootstrap Hello, world!收到1、HTML52、meta -viewport3、css4、js Read More
posted @ 2015-09-12 09:53 tinyphp Views(488) Comments(0) Diggs(0)
滑动门Demo这是大按钮相当于a负责左门,span负责右门 Read More
posted @ 2015-09-08 11:21 tinyphp Views(269) Comments(0) Diggs(0)
旧式的弹性盒子方法1、在拥有盒子的盒子上加display:box; 或inline-box开启弹性盒模型2、box-flex 分配空间,假如容器有a份,box-flex:2,那就占a分之23、分布方向 水平box-orient: horizontal; 垂直box-orient:vertical;4... Read More
posted @ 2015-09-06 22:51 tinyphp Views(418) Comments(0) Diggs(0)
几个突破口:(为了更简洁理解,先忽略兼容)1、认识3D的坐标系rotateX()-----------元素绕X轴旋转rotateY() -----------元素绕Y轴旋转rotateZ() -----------元素绕Y轴旋转transform:rotateX(20deg);2、perspecti... Read More
posted @ 2015-09-06 20:07 tinyphp Views(574) Comments(0) Diggs(0)
假如IE6、IE7、IE8的DIV元素的左外边距均不一致。可以作如下设置便可以解决此类问题:div{ padding-left:250px; //解析到此处==>所有的IE均设置为250px *padding-left:50px; //解析到此处==>IE6和IE7设置为50px ... Read More
posted @ 2015-09-06 09:49 tinyphp Views(148) Comments(0) Diggs(0)
html5标签 css3的border-radius在IE下没有效果,解决方法:首先下载ie-css3.htc脚本,然后在css中加入:behavior: url(ie-css3.htc);当你使用了这个htc文件后,你的CSS里面,只要写有box-shadow, -moz-b... Read More
posted @ 2015-09-04 23:01 tinyphp Views(716) Comments(0) Diggs(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 68 下一页