福利视频网站一区二区三区_欧美成人高清电影在线_亚洲欧美精品午睡沙发_精品久久国产字幕高潮_欧美人妖巨大在线_一本久久a久久精品亚洲_波多野结衣亚洲一区_美女视频黄a大片欧美_亚洲图片另类小说_日本精品视频一区二区_1000部国产精品成人观看_av色综合久久天堂av综合_国产精品麻豆久久久_国产又黄又大久久_欧美电影在线免费观看_国产精品女上位

服務(wù)項目
聯(lián)系方式
保定市遨游計算機服務(wù)有限公司
咨詢熱線:13313028229
售后:0312-6791400
售后:0312-6791126
網(wǎng)址:www.ea3dh.cn
地址:保定朝陽大街國貿(mào)大廈8樓808室
響應(yīng)式web網(wǎng)站設(shè)計制作方法推薦
[來源:www.ea3dh.cn] [作者:網(wǎng)站建設(shè)] [日期:18-09-03] [瀏覽次數(shù):]

在研究響應(yīng)式的時候,記錄了一些感想,分享出來,拋磚引玉,希望可以和大家一起討論??偨Y(jié)下來,響應(yīng)式比之前想象的要復(fù)雜得多。 At the time of the reactive, recorded some thoughts, to share, topic and hope can discuss with you. Summary and response type is much more complex than previously thought. 1. ie9以下(不包括ie9)采用ie條件注釋,為ie8以及一下單獨開一個樣式文件 1. Internet explorer 9 the following (not including ie 9) using conditional comments, ie for ie8 open a style as well as a separate file 2. 一個模塊的mq樣式整體放在這個模塊的樣式的之后,符合層疊邏輯,也同時以免被層疊。 2. A module of mq style as a whole in the style of this module, in line with the cascade logic, at the same time to avoid the cascade. 3. 祈求在一個相應(yīng)點上同時做變化幾乎是不可能的,因為版式中間的變化,無論是視覺還是具體的編碼人員不可能掌握所有細(xì)節(jié)。 3. Pray at a corresponding point do change at the same time it is almost impossible, because the format in the middle of the change, whether visual or specific coder can't grasp all the details. 4. 流體布局很關(guān)鍵,%視父級為參照物,這一點雖然很多人都知道,但是實際做的時候卻最容易被忽略。 4. The fluid is key layout, % parent as reference, that although a lot of people know, but actually do is the most easy to be ignored. 5. 清除浮動也很重要,切記。 5. Remove the floating is also very important, remember. 6. 如果你希望邊框、邊距(內(nèi)、外)也在100%的范圍內(nèi),直接設(shè)置width:auto就好了,不要給予希望在新的css3屬性上,也不要寄希望在-webkit上,-webkit-很容易就會變成下一個ie6了。 6. If you want the borders, margins (internal and external) are in the 100% range, directly set width: auto, don't give hope on the new range of attributes, also do not hope on - its, its - it would be easy to become the next ie6. 7. 合理的嵌套更加健壯,用一個包裝元素來替代設(shè)置當(dāng)前元素margin或者padding。舉例,假如有A和B兩個元素,width是40%,maring-right是10%,這樣很容易在搜索瀏覽器的時候篡位,所以用一個包裝元素C去分別包裹A和B,然給給C設(shè)置50%,A和B分別設(shè)置為80%。這樣就是合理且健壯的嵌套了。 7. Reasonable nested more robust, with a wrapper element to replace the current element margin or padding. For example, if there is A and B two elements, width is 40%, maring u-right is 10%, so it is easy to search browser usurper, so use A packing element C to package A and B, respectively, but to set 50% C, A and B respectively set to 80%. This is the reasonable and strong nested. 8. 兩行兩列這種設(shè)計,由于流體布局和字?jǐn)?shù)的不同,所以為每一行添加一個包裝元素,更加健壯。也就是說,先做兩行,再在每一行里做兩列。 8. Two lines of two columns of the design, due to the different fluid layout and word, so add a packing element for each row, more robust. That is to say, do first two lines, then do two column in each row. 9. 不要奢望在在每一個像素的寬度上不會出現(xiàn)超出預(yù)期的表現(xiàn),因為沒有任何人知道頁面在每一個像素寬度時候的表現(xiàn)的樣子,頁面越負(fù)責(zé)可預(yù)期的就越不準(zhǔn)確。所以mq可能真的是“非預(yù)期數(shù)值”(預(yù)期數(shù)值指代在設(shè)計和實現(xiàn)之前約定的響應(yīng)點) 9. Don't expect in each pixel width will not appear on more than expected, because no one know page at each pixel width, the performance of the page, the more inaccurate is responsible for the more predictable. Mq could really is so "unexpected numerical" (expected value refers to the response of the point before the design and implementation agreement) 10. 相同區(qū)間的mq和mq會層疊,全局的樣式也會和mq中的樣式層疊,所以屬性盡量不要寫成縮寫。以減少忘記的風(fēng)險。 10. The same range of mq and mq will cascade, global style will and mq in cascading style, so try to don't write abbreviations properties. To reduce the risk of forgetting. 11. 圖片的自適應(yīng)處理不容易,特別是有邊框的,如果正常條件(沒有利用mq來約束)下設(shè)置了寬和高,在另外一個mq下,僅僅設(shè)置一個屬性是不行的,還是那句話,mq不是二選一(除非是兩個不同的mq區(qū)間),而是層疊??! 11. Image adaptive processing is not easy, especially have borders, if under normal conditions (no use mq to constraints) set the width and height, in another mq, just setting an attribute is not enough, or that sentence, mq is not a choice (unless they are two different mq interval), but the cascading!!!!! 12. 如果水平列表的兩端的元素兩端對齊,以四個元素為例,那么除了前三個預(yù)留左邊距,最后一個為零;或者第一個右邊據(jù)為0;后三個有右邊距以外??梢圆捎玫谝粋€左側(cè)有,最后一個右側(cè)有,中間兩個左右偏移邊距來做,短的一面為 邊距除以空白數(shù),比如4個列表項,邊距為40,則40除以3。好處么?就是可以保證每一個外包裝為通欄的25%。 12. If the horizontal alignment on both ends of the elements, at the ends of the list of four elements, for example, so in addition to the first three reserve left, the last one is zero; Or according to the first right to 0; Having the right margin after three. Can take the first left, the last one on the right, about the middle two offset margin, short side for margin divided by the number of blank, such as 4 list item, the margin is 40, 40, divided by 3. The benefits? Is to ensure every packaging 25% of the banner. 13. 四個25%,兩個50% 沒關(guān)系,但是50% 25% 25%就可能會掉下去最后一個,所以24.99,22.49有時還會相差1~2像素。 13. 25%, four two 50% it doesn't matter, but 50% 25% 25% could fall off the last, so 24.99, 22.49 sometimes differ 1 ~ 2 pixels. 14. 如果版式變化不大,那么從大到小的寫mq,不必寫一個區(qū)間,只寫最大值即可,這樣一層一層的繼承,小尺寸繼承大尺寸,另外,不用過分擔(dān)心選擇器本身權(quán)重的問題,mq會提高其優(yōu)先級。 14. If the format change is not big, from big to small write mq, don't need to write an interval, you just write a maximum, so one layer of inheritance, inherit the large size, small size also, don't have to worry about the weight of the selector itself, mq can raise its priority. 15. 像導(dǎo)航和版權(quán)這種在pc、pad、phone截然不同的版式。mq,就寫區(qū)間。這樣在區(qū)間外就等于這些dom毫無樣式,這樣就不比擔(dān)心由繼承引發(fā)的覆蓋、優(yōu)先級、重寫以及未知問題。減少了屬性的重寫,提高了效率、降低了修改成本。其實就是等于一個dom,為不同的設(shè)備寫不同的樣式,這些樣式之間不繼承。 15. In the PC, pad, such as navigation and copyright phone different format. Mq, just write range. So no style outside the interval is equal to the dom, so it is no worry about coverage caused by inheritance, priority, rewriting and unknown problems. Reduce the attributes of rewriting, to enhance the efficiency and reduce the cost changes. Is equal to a dom, write different styles for different devices, these styles are not inherited. 16. 如果你希望幾個元素是相對位置不變的話,請將他們包裹,通過這個包裹元素使他們整體與其他元素或元素組做排版,所以一個健壯的響應(yīng)式離不開這些看似“冗余”的包裹元素。但還是以最少的可實現(xiàn)目標(biāo)的dom層級為目標(biāo)。 16. If you want a few elements are relative position unchanged, please wrap them, through this package elements to make them as a whole with other elements or elements groups do typesetting, so a robust response type without these seemingly "redundant" package elements. But with minimal can achieve the goal of dom level as the goal. 17. 關(guān)于背景圖,以中心為原點進行“裁剪”是理智的,已某一側(cè)為原點看起來都有點怪。另外可以使用background-size某個值為auto,另外一個使用% 17. The background, in order to center "utting out" is the reason for the origin, has one side to the origin seem a bit strange. Also can use the background - size some value for auto, another use % 18. 大圖片請寫在一個mq區(qū)間內(nèi),不要只寫最大值,這樣會搞定按需加載的問題。 18. The big picture, please write in a mq interval, don't just write a maximum, this will fix on demand loading problem.

微信二維碼

福利视频网站一区二区三区_欧美成人高清电影在线_亚洲欧美精品午睡沙发_精品久久国产字幕高潮_欧美人妖巨大在线_一本久久a久久精品亚洲_波多野结衣亚洲一区_美女视频黄a大片欧美_亚洲图片另类小说_日本精品视频一区二区_1000部国产精品成人观看_av色综合久久天堂av综合_国产精品麻豆久久久_国产又黄又大久久_欧美电影在线免费观看_国产精品女上位
亚洲一卡二卡三卡四卡五卡| 精品一区二区三区久久久| 日韩综合小视频| 成人妖精视频yjsp地址| 日韩欧美中文字幕制服| 亚洲高清不卡在线| 91免费观看国产| 国产亚洲美州欧州综合国| 日本系列欧美系列| 欧美日韩高清一区二区不卡| 亚洲欧美自拍偷拍| 成人综合婷婷国产精品久久免费| 欧美tickle裸体挠脚心vk| 日韩成人一区二区三区在线观看| 欧美性感一区二区三区| 亚洲青青青在线视频| 99视频精品全部免费在线| 日本一区二区三区国色天香| 韩国在线一区二区| 欧美va亚洲va香蕉在线| 日韩高清电影一区| 欧美肥妇毛茸茸| 视频一区二区三区在线| 欧美精品精品一区| 日韩电影在线观看电影| 91麻豆精品国产无毒不卡在线观看| 亚洲制服丝袜一区| 欧美性生活大片视频| 亚洲国产中文字幕在线视频综合 | 欧美日韩精品二区第二页| 成人欧美一区二区三区在线播放| 成人一二三区视频| 国产精品初高中害羞小美女文| jizzjizzjizz欧美| 亚洲情趣在线观看| 欧美性一二三区| 肉肉av福利一精品导航| 日韩午夜中文字幕| 久久精品久久精品| 久久精品一区二区三区不卡牛牛 | 99久久99精品久久久久久 | 日韩avvvv在线播放| 欧美一区二区三区爱爱| 久久精品国产第一区二区三区 | 免费不卡在线视频| 欧美xxxx老人做受| 国产精品亚洲成人| 国产精品高潮呻吟久久| 色吧成人激情小说| 首页综合国产亚洲丝袜| 精品国产一区二区三区忘忧草| 国产精品影音先锋| 日韩理论片网站| 欧美日韩国产精品成人| 另类中文字幕网| 日本一区二区三区四区| **性色生活片久久毛片| 91在线porny国产在线看| 一区二区高清视频在线观看| 欧美美女直播网站| 精品一区精品二区高清| 中国色在线观看另类| 91污片在线观看| 手机精品视频在线观看| 精品国产乱码久久久久久浪潮| 成人一区在线观看| 一区二区在线观看视频| 91精品免费在线观看| 国产传媒一区在线| 亚洲美女在线一区| 日韩欧美一级片| 成人爱爱电影网址| 图片区小说区国产精品视频| 久久亚洲一区二区三区明星换脸 | 久久亚洲捆绑美女| 不卡一区二区三区四区| 亚洲国产欧美在线| 久久午夜色播影院免费高清| 91同城在线观看| 美女爽到高潮91| 中文字幕佐山爱一区二区免费| 欧美精品123区| 福利一区二区在线| 亚洲高清免费观看| 国产色产综合产在线视频| 欧美影院午夜播放| 国产美女久久久久| 亚洲午夜在线观看视频在线| 亚洲精品一区二区三区福利| 一本大道久久a久久精二百 | 日韩一区二区三区四区五区六区| 国产成a人亚洲| 天天av天天翘天天综合网色鬼国产| 久久久久成人黄色影片| 欧美日韩一区二区三区免费看| 国产乱子伦视频一区二区三区| 亚洲国产欧美在线人成| 中文字幕av不卡| 日韩欧美国产不卡| 欧美性三三影院| 丁香亚洲综合激情啪啪综合| 五月天中文字幕一区二区| 国产精品毛片高清在线完整版| 欧美一级高清片| 91香蕉视频污| 国产精品 日产精品 欧美精品| 午夜精品福利在线| 亚洲日本中文字幕区| 久久这里只有精品6| 欧美精品九九99久久| 91丝袜美腿高跟国产极品老师 | 精品粉嫩aⅴ一区二区三区四区| 色吧成人激情小说| 国产91清纯白嫩初高中在线观看| 日本sm残虐另类| 亚洲综合区在线| 中文字幕在线一区| 26uuu久久天堂性欧美| 欧美日韩视频在线一区二区| av资源网一区| 国产乱码一区二区三区| 蜜臀久久99精品久久久久久9| 亚洲精品大片www| 中文字幕乱码一区二区免费| 欧美大片一区二区| 欧美精品视频www在线观看| 色婷婷久久99综合精品jk白丝| 国产v综合v亚洲欧| 精品亚洲aⅴ乱码一区二区三区| 午夜成人免费电影| 亚洲一区二区三区美女| 亚洲男人的天堂av| 国产精品精品国产色婷婷| 久久精品欧美一区二区三区不卡| 日韩久久久精品| 宅男噜噜噜66一区二区66| 欧美日韩国产一级片| 亚洲一二三区在线观看| 日本一区二区三区高清不卡| 精品福利一区二区三区| 欧美一级淫片007| 欧美精品在线一区二区| 欧美色欧美亚洲另类二区| 一本久道中文字幕精品亚洲嫩| av资源站一区| av电影在线观看一区| 成人av网址在线观看| 丁香婷婷综合激情五月色| 国产精选一区二区三区| 国产一区二区三区高清播放| 狠狠色综合播放一区二区| 精品一区二区影视| 国内外成人在线| 国产一区二区三区免费| 国产一区高清在线| 国产一区二区三区精品欧美日韩一区二区三区 | 51精品秘密在线观看| 欧美日韩一区二区三区在线| 欧美综合在线视频| 欧美天堂亚洲电影院在线播放| 色视频欧美一区二区三区| 色综合天天综合网国产成人综合天 | 老司机午夜精品99久久| 日本aⅴ免费视频一区二区三区| 日韩不卡一区二区三区| 日韩精品午夜视频| 免费观看在线色综合| 久久av资源网| 国产精品一区二区黑丝| 风间由美性色一区二区三区| 成人免费黄色大片| 一本一道综合狠狠老| 欧美在线短视频| 7777精品久久久大香线蕉| 日韩美女视频在线| 国产亚洲精品bt天堂精选| 国产精品午夜春色av| 亚洲欧美日本在线| 亚洲午夜一二三区视频| 日本va欧美va精品发布| 国产在线看一区| 成人av资源在线观看| 99精品欧美一区二区蜜桃免费 | 中文字幕一区二区三区色视频| 亚洲人成影院在线观看| 亚洲影院理伦片| 免费一级片91| 国产成人一区在线| 色素色在线综合| 欧美一级夜夜爽| 久久精品无码一区二区三区| 国产精品电影一区二区| 夜色激情一区二区| 麻豆精品在线看| 成人伦理片在线| 欧美日韩免费电影| 精品久久久三级丝袜| 国产精品初高中害羞小美女文| 亚洲成av人片一区二区梦乃| 精彩视频一区二区三区|