久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

        <legend id='GtDbj'><style id='GtDbj'><dir id='GtDbj'><q id='GtDbj'></q></dir></style></legend>
        <i id='GtDbj'><tr id='GtDbj'><dt id='GtDbj'><q id='GtDbj'><span id='GtDbj'><b id='GtDbj'><form id='GtDbj'><ins id='GtDbj'></ins><ul id='GtDbj'></ul><sub id='GtDbj'></sub></form><legend id='GtDbj'></legend><bdo id='GtDbj'><pre id='GtDbj'><center id='GtDbj'></center></pre></bdo></b><th id='GtDbj'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GtDbj'><tfoot id='GtDbj'></tfoot><dl id='GtDbj'><fieldset id='GtDbj'></fieldset></dl></div>

        <small id='GtDbj'></small><noframes id='GtDbj'>

        • <bdo id='GtDbj'></bdo><ul id='GtDbj'></ul>

        <tfoot id='GtDbj'></tfoot>

        如何制作邊緣平滑的 CSS 三角形?

        How do I make a CSS triangle with smooth edges?(如何制作邊緣平滑的 CSS 三角形?)

          <i id='imNyv'><tr id='imNyv'><dt id='imNyv'><q id='imNyv'><span id='imNyv'><b id='imNyv'><form id='imNyv'><ins id='imNyv'></ins><ul id='imNyv'></ul><sub id='imNyv'></sub></form><legend id='imNyv'></legend><bdo id='imNyv'><pre id='imNyv'><center id='imNyv'></center></pre></bdo></b><th id='imNyv'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='imNyv'><tfoot id='imNyv'></tfoot><dl id='imNyv'><fieldset id='imNyv'></fieldset></dl></div>
            <tbody id='imNyv'></tbody>
            <bdo id='imNyv'></bdo><ul id='imNyv'></ul>
          • <tfoot id='imNyv'></tfoot>
            1. <legend id='imNyv'><style id='imNyv'><dir id='imNyv'><q id='imNyv'></q></dir></style></legend>

              <small id='imNyv'></small><noframes id='imNyv'>

                  本文介紹了如何制作邊緣平滑的 CSS 三角形?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我有一個(gè)使用這個(gè) CSS 的三角形 (JSFiddle):

                  I have a triangle (JSFiddle) using this CSS:

                  .triangle {
                      width: 0;
                      height: 0;
                      border-top: 0;
                      border-bottom: 30px solid #666699;
                      border-left: 20px solid transparent; 
                      border-right: 20px solid transparent;
                      }
                  

                  還有這個(gè) HTML:

                  <div class="triangle"></div>
                  

                  這會(huì)形成一個(gè)三角形,但對(duì)角線是鋸齒狀和像素化的.我怎樣才能使它們光滑?(我能夠在 Safari 和 Chrome 中通過將它們打點(diǎn)來平滑它們,但這打破了 Firefox 和 IE 中的三角形.)

                  This makes a triangle, but the diagonal lines are jagged and pixelated. How can I make them smooth? (I was able to smooth them out in Safari and Chrome by making them dotted, but that broke the triangles in Firefox and IE.)

                  推薦答案

                  即使在純 CSS 中我們也可以得到平滑的對(duì)角線.

                  Even in pure CSS we can get the smooth diagonals.

                  .triangle {
                      width: 0;
                      height: 0;
                      border-top: 0;
                      border-bottom: 30px solid #666699;
                      border-left: 20px solid rgba(255, 255, 255, 0); 
                      border-right: 20px solid rgba(255, 255, 255, 0);
                  }
                  

                  您可以使用 rgba(255, 255, 255, 0) 來代替透明.這再次給出透明.但是 alpha=0 會(huì)產(chǎn)生平滑的對(duì)角線.

                  Instead of giving transparent you can make use of rgba(255, 255, 255, 0). This again gives transparent. But the alpha=0 makes smooth diagonals.

                  檢查 rgba 的瀏覽器支持 css-tricks.com/rgba-browser-support

                  Check the browser support for rgba css-tricks.com/rgba-browser-support

                  謝謝

                  這篇關(guān)于如何制作邊緣平滑的 CSS 三角形?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  ionic - How to wordwrap a long string in ion-header(ionic - 如何在 ion-header 中對(duì)長字符串進(jìn)行自動(dòng)換行)
                  How to change the css class name dynamically in angular 2(如何在角度2中動(dòng)態(tài)更改css類名)
                  Ionic 2 login popup using Modal and styling(使用模態(tài)和樣式的 Ionic 2 登錄彈出窗口)
                  how to do horizontal scroll in ionic 3(如何在ionic 3中進(jìn)行水平滾動(dòng))
                  Virtual scroll ion-img tag overlapping to another ion card(與另一個(gè)離子卡重疊的虛擬滾動(dòng) ion-img 標(biāo)簽)
                  How to remove default color in input type?(如何刪除輸入類型中的默認(rèn)顏色?)
                • <small id='jlPF9'></small><noframes id='jlPF9'>

                  • <i id='jlPF9'><tr id='jlPF9'><dt id='jlPF9'><q id='jlPF9'><span id='jlPF9'><b id='jlPF9'><form id='jlPF9'><ins id='jlPF9'></ins><ul id='jlPF9'></ul><sub id='jlPF9'></sub></form><legend id='jlPF9'></legend><bdo id='jlPF9'><pre id='jlPF9'><center id='jlPF9'></center></pre></bdo></b><th id='jlPF9'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='jlPF9'><tfoot id='jlPF9'></tfoot><dl id='jlPF9'><fieldset id='jlPF9'></fieldset></dl></div>
                    <legend id='jlPF9'><style id='jlPF9'><dir id='jlPF9'><q id='jlPF9'></q></dir></style></legend>

                      <bdo id='jlPF9'></bdo><ul id='jlPF9'></ul>

                        1. <tfoot id='jlPF9'></tfoot>

                              <tbody id='jlPF9'></tbody>
                          1. 主站蜘蛛池模板: 久久国产精品-国产精品 | 国产精品自产拍 | 国产一区久久精品 | 99久热 | 久草视频观看 | 日韩精品一区二区三区在线播放 | 亚洲午夜精品视频 | 欧美日韩成人在线 | 精品国产99 | 一区二区三区四区国产精品 | 91在线电影| 亚洲网站在线观看 | 久久国 | 日韩看片 | 在线观看成年人视频 | 日日骚视频 | 午夜小电影 | 欧美日韩在线综合 | 亚洲一区二区精品视频 | 亚洲精品视频一区 | 欧美影院久久 | 免费看大片bbbb欧美 | 性一交一乱一透一a级 | 91精品久久久久久久久久 | 美女天堂 | av中文在线 | av日韩一区 | 国偷自产av一区二区三区 | 精品久久国产视频 | 成人免费小视频 | 人人九九精 | 四虎海外 | 欧美成人手机在线 | 亚洲二区在线 | 一区二区三区在线免费观看 | 欧美精品一区二区三区四区 在线 | 91久久久www播放日本观看 | 精品国产成人 | 中文在线а√在线8 | 免费v片在线观看 | 国产真实精品久久二三区 |