引用注意事项,响应式布局

  原理:利用css的media-queries推断浏览窗口的尺寸,在CSS样式表中设置有些平整!

 

先引用jquery,再引用bootstrap的js

betway必威亚洲官网,  例如:

No.0 child process was created, the pid is 5249  No.1 child process was created, the pid is 5250  No.2 child process was created, the pid is 5251  No.3 child process was created, the pid is 5252  No.4 child process was created, the pid is 5253  process.5251 is writing now  this is process.5251's data  process.5253 is writing now  process.5252 is writing now  process.5250 is writing now  this is process.5253's data  this is process.5252's data  this is process.5250's data  process.5249 is writing now  this is process.5249's data  

 

  当大家开采的类别需求接纳多进程方式运转时,进程间通讯便成了根本的环节。消息队列(message
queue)是Linux系统经过间通信的一种方法。

2014年6月8日 13:35:31

    @media (max-width:767px) {body{background:red}}
//青色部分代表供给定制的因素的平整

  上边列举一下演示代码中的首要函数:

<script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>  <script src="http://cdn.bootcss.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>  <link href="http://cdn.bootcss.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">

  </style>

resource(4) of type (sysvmsg queue)  Array  (      [msg_perm.uid] => 1000      [msg_perm.gid] => 1000      [msg_perm.mode] => 438      [msg_stime] => 0      [msg_rtime] => 0      [msg_ctime] => 1279849495      [msg_qnum] => 0      [msg_qbytes] => 16384      [msg_lspid] => 0      [msg_lrpid] => 0  )  Array  (      [msg_perm.uid] => 1000      [msg_perm.gid] => 1000      [msg_perm.mode] => 438      [msg_stime] => 1279849495      [msg_rtime] => 0      [msg_ctime] => 1279849495      [msg_qnum] => 1      [msg_qbytes] => 16384      [msg_lspid] => 2184      [msg_lrpid] => 0  )  Hello,World!  

bootstrap 提供了cdn服务,在引用css,js的时候注意先后顺序,firebug就不会报错

  <style>

运行结果为:

    同理:

 

    **地点的代码的意趣是实现,当浏览窗口尺寸当先767px且小于1000px时,重新设定body标签的体裁为字体14像素,背景观变蓝!**

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注

标签:
网站地图xml地图