Bootstrap? ???? ?? ?? ???? ???? ?? ??????. ??? ??? ???? ???? ?? ? ????.
????? ??? ????: http://v3.bootcss.com/
?????? ? ?? ??? ????? ?????.
---------------------------------- --- ---------------
???? ??? ?? ?????
CSS, JavaScript ? ?? ??? ????? ??????. ??? ? ?? ?? ??? ???? ????.
????? ?? ??
??? ??? Less, JavaScript ? ?? ??? ?? ?????. ?? ????? ?? ?? ??? ?????.
??
Less?? Sass?? Bootstrap ?? ?? ?????? ?????, Rails, Compass ?? Sass ?? ????? ??? ???? ? ?????.
---------------------------------- --- -------------
??? ?????? ??? ?????? ??? ? ????.
Bootstrap ?? ????? Bootstrap? ?? CDN ?? ???? ??? ??????. ?? ???? ??? CDN ???? ???? ?? ??? ? ???, ?? ??? ?? ????, ?? ? ??? ??? ???, ????? ????.
base.html
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 上述3個meta標(biāo)簽*必須*放在最前面,任何其他內(nèi)容都*必須*跟隨其后! --> <title>Bootstrap 101 Template</title> <!-- Bootstrap --> <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css"> <h1>你好,bootstrap!</h1> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
base.html? ?????? ??????, ???? ??????? ???? ???? ??? ? ????.
?? ???
Bootstrap? ????? 200? ??? ???? ?????. ?? ??? ?? ?? ???? ??? ? ????.
<h3>圖標(biāo)</h3> <span class="glyphicon glyphicon-home"></span> <span class="glyphicon glyphicon-signal"></span> <span class="glyphicon glyphicon-cog"></span> <span class="glyphicon glyphicon-apple"></span> <span class="glyphicon glyphicon-trash"></span> <span class="glyphicon glyphicon-play-circle"></span> <span class="glyphicon glyphicon-headphones"></span>
??
??? ??? ???? ? ???? ?????? ??? ?? ???? ?????.
<h3>按鈕</h3> <button type="button" class="btn btn-default">按鈕</button> <button type="button" class="btn btn-primary">primary</button> <button type="button" class="btn btn-success">success</button> <button type="button" class="btn btn-info">info</button> <button type="button" class="btn btn-warning">warning</button> <button type="button" class="btn btn-danger">danger</button> <h3>按鈕尺寸</h3> <button type="button" class="btn btn-default">按鈕</button> <button type="button" class="btn btn-primary btn-lg">primary</button> <button type="button" class="btn btn-success btn-sm">success</button> <button type="button" class="btn btn-info btn-xs">info</button> <h3>把圖標(biāo)顯示在按鈕里</h3> <button type="button" class="btn btn-default"><span class="glyphicon glyphicon-home"></span>??按鈕</button>
?????? ??? ?? ?? ??? ??? ??? ???? ? ?? ????, ? btn-lg, btn-sm ? btn-xs? ?????.
???? ??
???? ??? ?? ???? ?? ?? ? ???? ?????? ???? ???? ?????.
<h3>下拉菜單</h3> <div class="dropdown"> <button class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true"> Dropdown <span class="caret"></span> </button> <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1"> <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li> <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li> <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li> <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li> </ul> </div>
???
??? ???? ?? ??? ????.
<h3>輸入框</h3> <div class="input-group"> <span class="glyphicon glyphicon-user"></span> <input type="text" placeholder="username"> </div> <div class="input-group"> <span class="glyphicon glyphicon-lock"></span> <input type="password" placeholder="password"> </div>
????? ?
????? ?? ?? ????? ???? ?? ?????.
<h3>導(dǎo)航欄</h3> <nav class="navbar navbar-inverse navbar-fixed-top"> <div id="navbar" class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li class="active"><a href="#">Home</a></li> <li><a href="#about">About</a></li> <li><a href="#contact">Contact</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li class="divider"> <li class="dropdown-header">Nav header</li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div> <!--/.nav-collapse --> </nav>
?
??
表單
人與系統(tǒng)之間數(shù)據(jù)的傳遞都需要依靠表單來完成。比如注冊/登錄信息的提交,查詢條件的提交等。用
標(biāo)簽來創(chuàng)建表單。<h3>表單</h3>
?
?
警告框
警告框是系統(tǒng)向用戶傳達(dá)信息和提供指引的重要手段。沒有針對警告框的標(biāo)簽,通過bootstrap所提供的樣式可以瞬間制作出漂亮的警告框。
<h3>警告框</h3> <div class="alert alert-warning alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> <strong>Warning!</strong> Better check yourself, you're not looking too good. </div> <div class="alert alert-success" role="alert"> <a href="#" class="alert-link">success!</a> </div> <div class="alert alert-info" role="alert"> <a href="#" class="alert-link">info!</a> </div> <div class="alert alert-warning" role="alert"> <a href="#" class="alert-link">warning!</a> </div> <div class="alert alert-danger" role="alert"> <a href="#" class="alert-link">danger!</a> </div>
??
?
進(jìn)度條
系統(tǒng)的處理過程往往需要用戶等待,進(jìn)度條可以讓用戶感知到系統(tǒng)的處理過程,從而增加容忍度。
<h3>進(jìn)度條</h3> <div class="progress"> <div class="progress-bar" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 60%;"> 70% </div> </div>
?
?
?閱讀原文請點擊此處

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

HTMLHEAD? ?? ???? SEO, ?? ?? ? ???? ??? ?????. 1. ??? ??? ??? ????, ???? ???? ???? ??????. 2. OpenGraph ? Twitter ?? ??? ???? ?? ?? ??? ????? ??? ?????? ???? ??? ??? ???? ???????. 3. ?? ?? ? ??? ??? ???? ??? ??? ??? ???? ????????. 4. ?? ???, ?? ?? ? ?? ?? ?? ???? ?? ??? ??? ????? ???????.

Tolearnhtmlin2025, chooSeatUtoriorialThatthatthath and-practicewithmoderndardAndardsandegratescssandjavaScriptBasics.1.

???? ??? HTML ?? ???? ??? ??? ?????? ?? Div Flex ?? ??? ????? ???? ??? ?????? ??? ???????. ??, ?? ???? ?????? ?? CSS? ?? ? ?? ????. ?? ?? ??? ALT ??? ?? ???? ?? URL? ?????? ??? ???? ??? ?? TD? ??????????. ????? ?? ?????? ?? ??? ????? ???????.

??? ??? ??? HTML ?? ??? ??? ????? ?? ?? ?? ?? ???? ?? ?? ? ? ????. ?? ???? ??? ?????. 1. JavaScript? ???? ?? ?? ? ??? ???? ???? ?? ?? ??? ?? ?? ? ???? ???? ????. 2. Formspree? ?? ?? ???? ? ???? ???? ???? ???? ??? ?? ? ???? ??? ?????. 3. LocalStorage? ???? ??? ?? ??? ????? ?? ??? ?? ???? ??? ???? ? ????? ??? ??? ?? ???? ???? ????.

???, ID, ???, ??? ? ??? HTML?? ?? ????? ???? ??? ?????. ???? ??? ?? ? JavaScript ??? ?????? ?? ?? ??? ??? ??? ???? ? ?????. ID? ?? ?? ? JavaScript ???? ??? ??? ?? ?? ???? ?????. ???? ???? ??? ???? ?? ? ? ??? ?? ???? ????? ??? ???? ???? ????. ??? ??? ??? ?? ???? ???? ? ????, ?? ??? ?? ? ??? ?? ??? ?????. ??? ??? ?? ????? ???? ? ????? ???? ??? ????? ?? ?????. ??? ??? ????? ???? ?? ???? ??? ??? ???? ? ????.

Native Lazy Loading? ?? ???? ????,?? = "???"??? ??? ???? ??? ????? ? ? ????. 1. JavaScript ?? ?? ?????? ???? ??? HTML?? ?? ?????. 2. ??? ??? ? ?? ??? ???? ?? ??, ?? ??? ??? ??? ? ? ?? ???? ?????. 3. ? ?? ?? ?? ???????? ???? ???? ????. 4. ??? ??? ?, ??? ?? ???? ???? ??? ??? ?? ???????. 5. SRCSET ? ?? ??? ?? ?? ? ??? ??? ????????. 6. ??? ??? ???????. ?? ??? ??????? ???? ????. ?? ??? ?? ??? ? ??? JavaScript ???? ?? ? ? ????.

? ???? ??? ??? ????? ?? HTML ??? ???? ???? ?? ??? ????? ????. 1. ??? ???? ???? CSS ????? ???? ??? ?? ?? ??? ?????. 2. ??? ??? ????? .mp4 ? Webm? ???? ???? ?????. 3. ??? ???? ?? ??? ???? ?? Muted ? PlaySinline ??? ??????. 4. ?? ??? ????? ?? ??? ??? ???? ?? MB? ???? ?? ????. 5. ??? ?? ??? ???? ?? ??? ??????. 6. ?? ?? ?? ?? ??? ???? ??? ? ??? ???? ?? ? ?? ?? ??? ???? ?? ??? ?????. ?? ??? ????? ???? ??? ??? ?? ? ? ????.

IFRAMES? ?????? ?? ??? CSS? ???? ???? ???? ?? ????? ???? ??? ???? ????. 1. ?? ??? ???? ?? ??? ???? ??? ????. 16 : 9? ?? ???? ??? ?? -TOP56.25%, 4 : 3? ????, 4 : 3? 75%? ???? 1 : 1? 100%? ????; 2. iframe ??? 100%? ???? ?? ??? ???? ????? ???? ??-?? ??? ???? ??? ??????. 3. ?? ???? ???? ?? ? ?? ???? ??? ?? ??? ???? ?? ? ?? ??? ???? ??? ????? ?? ?? ??? ????? ??????. Iframe? ?? ?? ???? ?? ???? ? ?? ??? ???????.
