-
一個網頁加載速度的快慢很大程度取決于網頁請求數目的多少,盡量少引用文件,可以壓縮到一個到兩個文件,瀏覽器解析的時候會快。查看全部
-
letter-spacing:1px 文字間距 height:inherit繼承樣式 position:relative 相對于自己做偏移,沒有脫離文檔流查看全部
-
CSS Reset:http://www.cssreset.com查看全部
-
function showNote(show) { if(show) { $(".overlap").css('display', 'block'); $(".notedetail").css('display', 'block'); } else { $(".overlap").css('display', 'none'); $(".notedetail").css('display', 'none'); } };查看全部
-
lorem 占位 inherit 繼承查看全部
-
學習了。。。查看全部
-
lorem 自動輸出字符串查看全部
-
.clearfix:after{content:'';display:block;clear:both;} -web-box-sizing:border-box;//不包含border和padding -moz-box-sizing:border-box; box-sizing:border-box; letter-spacing:npx;字間距 公共的樣式提出來減少代碼量 .classname:first-child{background:rgba(0,0,0,0.05)}//不透明度為0.05的黑 first-child第一個子元素 :nth-child(2)第二個子元素 :nth-child(3)第3個子元素 :nth-child(4)第4個子元素查看全部
-
新功能?查看全部
-
div與div之間出現縫隙font-size:0;設置的是整個最外層div字體 .classname>*{width:90%;}classname下的所有的子元素 奇偶選擇器:classname:nth-child(odd){樣式};查看全部
-
.classmame>div 向下一級的div 緊鄰著的子div 當子元素全用浮動 父元素就會縮到很小的值 父級元素就要清除浮動 .classname:afer{content:'';display:block;clear:both;}查看全部
-
ul>li{item$}*4查看全部
-
li{item$}*4查看全部
-
.img-section { font-size: 0; }查看全部
-
清除浮動: 父元素:after { content: ''; display: block; clear: both; }查看全部
舉報
0/150
提交
取消