• <fieldset id="8imwq"><menu id="8imwq"></menu></fieldset>
  • <bdo id="8imwq"><input id="8imwq"></input></bdo>
    最新文章專題視頻專題問答1問答10問答100問答1000問答2000關(guān)鍵字專題1關(guān)鍵字專題50關(guān)鍵字專題500關(guān)鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關(guān)鍵字專題關(guān)鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
    問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
    當(dāng)前位置: 首頁(yè) - 科技 - 知識(shí)百科 - 正文

    響應(yīng)式框架Bootstrap柵格系統(tǒng)的實(shí)例

    來源:懂視網(wǎng) 責(zé)編:小采 時(shí)間:2020-11-27 22:23:31
    文檔

    響應(yīng)式框架Bootstrap柵格系統(tǒng)的實(shí)例

    響應(yīng)式框架Bootstrap柵格系統(tǒng)的實(shí)例:實(shí)例如下: <!DOCTYPE html> <html> <head lang=en> <meta charset=UTF-8> <title></title> <meta name=viewport content=width=device-width, i
    推薦度:
    導(dǎo)讀響應(yīng)式框架Bootstrap柵格系統(tǒng)的實(shí)例:實(shí)例如下: <!DOCTYPE html> <html> <head lang=en> <meta charset=UTF-8> <title></title> <meta name=viewport content=width=device-width, i

    實(shí)例如下:

    <!DOCTYPE html>
    <html>
    <head lang="en">
     <meta charset="UTF-8">
     <title></title>
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <link rel="stylesheet" href="css/bootstrap.min.css" rel="external nofollow" />
     <script language="JavaScript" src="js/jquery-3.js"></script>
     <style type="text/css">
     *{
     top: 0px;
     padding: 0px;
     text-decoration: none;
     list-style-type: none;
     }
    
     .top-styl{
     height: 50px;
     border: 1px solid red;
     background-color: #000000;
     }
     .img-styl{
     width: 174px;
     height: 50px;
     background: url("imges/logo.png")no-repeat 0px 3px;
     background-size: contain;
     float: left;
     }
     .sousuo-styl{
     width: 187px;
     float: left;
     }
     .top-search-input{
     width: 150px;
     padding: 0 5px;
     height: 30px;
     border: 0;
     background: #363636;
     float: left;
     color: #ccc;
     }
     .top-search-submit{
     width: 30px;
     height: 30px;
     border: 0;
     background: green url("imges/zoom.gif")center center no-repeat;
     float: left;
     cursor: pointer;          //光標(biāo)指針
     }
     .dao-styll{
     float: left;
     font-size: 16px;
     width: 329px;
     margin-left: 33px;
     margin-top: 11px;
    
     }
     .dao-styll li{
     float: left;
     position: relative;      //相對(duì)定位
     text-align: center;
     padding: 0 7px;
     }
     .dao-styll >li:hover{
     background-color: #999;
     }
     .dao-styll >li >a{
     color: #FFF;
     width: 100%;
     height: 34px;
     text-decoration: none;    //取消下劃線
     }
     .dz-styl{
     float: right;
     margin: -19px -9px 6px 21px;
     }
     .imgs-styl{
     padding: 11px 0px 0px 114px;
     float: right;
     margin: 0px -98px -3px 8px;
     }
     .green-styl{
     color: green;
     }
     .zc-styl{
     color: white;
     }
     a{
     text-decoration: none;
     }
     </style>
    </head>
    <body>
     <div class="container-fluid">           //fluid表示用 百分比
     <div class="row">               //row 行
     <div class="top-styl col-md-12">        //col-md-12 每行桌面占12列
     <div class="row">
     <div class=" col-md-offset-1 col-md-9">   //col-md-offset-1 列偏移1列
     <div class="row">
     <div class="col-md-3 col-xs-4">
     <div class="img-styl"></div>
     </div>
     <div class="col-md-3 ">
     <div class="sousuo-styl" style="padding-left: 7px; margin: 8px auto;">
     <input class="top-search-input" value="" type="text"><input
     class="top-search-submit" type="submit" value="" />
     </div>
     </div>
     <div class="col-md-4 hidden-xs" style="padding: 0px">
     <ul class="dao-styll">
     <li class=""><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >風(fēng)格</a>
     </li>
     <li class=""><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >造型師</a></li>
     <li class=""><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >眾分享</a>
     </li>
     <li class=""><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >我的美麗衣櫥</a></li>
     </ul>
     </div>
     <div class="col-md-2">
     <div class="imgs-styl">
     <img src="imges/sina.gif">
     </div>
     <div class="dz-styl">
     <span><a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="green-styl">登錄</a> | </span><span>
     <a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" class="zc-styl">注冊(cè)</a></span>
     </div>
     </div>
    
    
     </div>
     </div>
     </div>
     </div>
     </div>
    
     <div class="row">
     <div class="visible-md"><h1>當(dāng)前為桌面顯示</h1></div>   //visible默認(rèn)占滿整行 
     <div class="visible-sm"><h1>當(dāng)前為平面顯示</h1></div>
     <div class="visible-xs"><h1>當(dāng)前為手機(jī)顯示</h1></div>
     </div>
     </div>
    </body>
    </html>

    效果顯示圖:

     

    以上這篇響應(yīng)式框架Bootstrap柵格系統(tǒng)的實(shí)例就是小編分享給大家的全部?jī)?nèi)容了,希望能給大家一個(gè)參考,也希望大家多多支持腳本之家。

    聲明:本網(wǎng)頁(yè)內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問題請(qǐng)及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

    文檔

    響應(yīng)式框架Bootstrap柵格系統(tǒng)的實(shí)例

    響應(yīng)式框架Bootstrap柵格系統(tǒng)的實(shí)例:實(shí)例如下: <!DOCTYPE html> <html> <head lang=en> <meta charset=UTF-8> <title></title> <meta name=viewport content=width=device-width, i
    推薦度:
    標(biāo)簽: 案例 實(shí)例 框架
    • 熱門焦點(diǎn)

    最新推薦

    猜你喜歡

    熱門推薦

    專題
    Top
    主站蜘蛛池模板: 黑人巨大精品欧美| 欧美日韩国产精品自在自线| 欧美日韩成人精品久久久免费看 | 国内精品久久久久久久涩爱| 911亚洲精品不卡| 国产精品国产AV片国产| 国产精品国产三级国产潘金莲| 国内揄拍高清国内精品对白| 久久亚洲中文字幕精品一区四 | 亚洲国产精品成人| 无码AⅤ精品一区二区三区| 亚洲精品永久在线观看| 最新国产在线精品观看| www.精品| 久久精品国产精品亚洲艾草网美妙 | 91精品一区国产高清在线| 欧美精品免费在线| 国产精品成人小电影在线观看 | 国产精品综合专区中文字幕免费播放| 精品99又大又爽又硬少妇毛片 | 国产精品丝袜一区二区三区 | 亚洲国产精品嫩草影院| 精品国产91久久久久久久a | 成人久久精品一区二区三区| 精品久久久无码人妻中文字幕豆芽| 亚洲欧美国产∧v精品综合网| 久久激情亚洲精品无码?V| 亚洲高清专区日韩精品| 99国产精品一区二区| 无码国产69精品久久久久网站| 欧美精品免费线视频观看视频| 91老司机深夜福利精品视频在线观看 | 国产一区二区三区精品视频| 99热这里只有精品国产66| 久久91精品国产91久久麻豆| 国内精品久久久久久久久电影网| 在线观看91精品国产入口| 天天爽夜夜爽精品视频app| 青草青草久热精品视频在线网站| 国产在线精品网址你懂的| 久久国产成人精品麻豆 |