解決 IE 10 11 12 l瀏覽器滾動條白色問題以及添加樣式問題 (其餘瀏覽器滾動條問題)

1 去掉 IE 瀏覽器滾動條問題  web

.dropdown ul.topic{瀏覽器

        -ms-scroll-chaining: chained;app

        -ms-overflow-style: none;3d

        -ms-content-zooming: zoom;pdo

        -ms-scroll-rails: none;it

        -ms-content-zoom-limit-min: 100%;class

        -ms-content-zoom-limit-max: 500%;import

        -ms-scroll-snap-points-x: snapList(100%, 200%, 300%, 400%, 500%);List

        -ms-overflow-style: none;webkit

        overflow: auto;

    }

 

2 給IE 瀏覽器添加樣式

/* IE 瀏覽器 */

.dropdown ul.topic{

    /*三角箭頭的顏色*/

    scrollbar-arrow-color: #fff;

    /*滾動條滑塊按鈕的顏色*/

    scrollbar-face-color: #0099dd;

    /*滾動條總體顏色*/

    scrollbar-highlight-color: #0099dd;

    /*滾動條陰影*/

    scrollbar-shadow-color: #0099dd;

    /*滾動條軌道顏色*/

    scrollbar-track-color: #0066ff;

    /*滾動條3d亮色陰影邊框的外觀顏色——左邊和上邊的陰影色*/

    scrollbar-3dlight-color:#0099dd;

    /*滾動條3d暗色陰影邊框的外觀顏色——右邊和下邊的陰影色*/

    scrollbar-darkshadow-color: #0099dd;

    /*滾動條基準顏色*/

    scrollbar-base-color: #0099dd;

}

/*webkit內核*/
.scroll_content::-webkit-scrollbar {
    width:0px;
    height:0px;
}
.scroll_content::-webkit-scrollbar-button    {
    background-color:rgba(0,0,0,0);
}
.scroll_content::-webkit-scrollbar-track     {
    background-color:rgba(0,0,0,0);
}
.scroll_content::-webkit-scrollbar-track-piece {
    background-color:rgba(0,0,0,0);
}
.scroll_content::-webkit-scrollbar-thumb{
    background-color:rgba(0,0,0,0);
}
.scroll_content::-webkit-scrollbar-corner {
    background-color:rgba(0,0,0,0);
}
.scroll_content::-webkit-scrollbar-resizer  {
    background-color:rgba(0,0,0,0);
}
.scroll_content::-webkit-scrollbar {
    width:10px;
    height:10px;
}
/*o內核*/
.scroll_content .-o-scrollbar{
    -moz-appearance: none !important;   
    background: rgba(0,255,0,0) !important;  
}
.scroll_content::-o-scrollbar-button    {
    background-color:rgba(0,0,0,0);
}
.scroll_content::-o-scrollbar-track     {
    background-color:rgba(0,0,0,0);
}
.scroll_content::-o-scrollbar-track-piece {
    background-color:rgba(0,0,0,0);
}
.scroll_content::-o-scrollbar-thumb{
    background-color:rgba(0,0,0,0);
}
.scroll_content::-o-scrollbar-corner {
    background-color:rgba(0,0,0,0);
}
.scroll_content::-o-scrollbar-resizer  {
    background-color:rgba(0,0,0,0);
}
相關文章
相關標籤/搜索