{"id":175,"date":"2016-07-22T15:23:45","date_gmt":"2016-07-22T07:23:45","guid":{"rendered":"http:\/\/loveuhouse.cn\/wordpress\/?p=175"},"modified":"2016-08-17T10:52:53","modified_gmt":"2016-08-17T02:52:53","slug":"%e6%94%b9%e5%8f%98%e6%bb%9a%e5%8a%a8%e6%9d%a1scroll%e6%a0%b7%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/loveuhouse.cn\/wordpress\/?p=175","title":{"rendered":"\u6539\u53d8\u6eda\u52a8\u6761scroll\u6837\u5f0f"},"content":{"rendered":"<p><a href=\"http:\/\/www.php100.com\/html\/it\/qianduan\/2015\/0114\/8366.html\">\u539f\u6587\u5730\u5740\uff1aphp100<\/a><\/p>\n<p><a href=\"http:\/\/www.webhek.com\/custom-scrollbars-in-webkit\">\u6765\u6e90\uff1aWEB\u9a87\u5ba2<\/a><\/p>\n<blockquote><p>webkit-css\u90e8\u5206<\/p><\/blockquote>\n<pre class=\"lang:default decode:true\">\/*\n*\/\n::-webkit-scrollbar {\n\t\t  width: 5px;\n\t\t  height:5px;\n\t} \/* \u8fd9\u662f\u9488\u5bf9\u7f3a\u7701\u6837\u5f0f (\u5fc5\u987b\u7684) *\/\n::-webkit-scrollbar-track {\n\t\t  background-color: #eee;\n\t} \/* \u6eda\u52a8\u6761\u7684\u6ed1\u8f68\u80cc\u666f\u989c\u8272 *\/\n\n\t::-webkit-scrollbar-thumb {\n\t\t  background-color: #666; \n\t} \/* \u6ed1\u5757\u989c\u8272 *\/\n\n\t::-webkit-scrollbar-button {\n\t\t  display:none;\n\t} \/* \u6ed1\u8f68\u4e24\u5934\u7684\u76d1\u542c\u6309\u94ae\u989c\u8272 *\/\n\n\t::-webkit-scrollbar-corner {\n\t\t  background-color: #eee;\n\t} \/* \u6a2a\u5411\u6eda\u52a8\u6761\u548c\u7eb5\u5411\u6eda\u52a8\u6761\u76f8\u4ea4\u5904\u5c16\u89d2\u7684\u989c\u8272 *\/\n<\/pre>\n<p>\u6765\u6e90\uff1a<a href=\"http:\/\/bbs.kafan.cn\/thread-1529981-1-1.html\">caliban<\/a><\/p>\n<blockquote><p>firefox\u529e\u6cd5<\/p><\/blockquote>\n<pre class=\"lang:default decode:true\">\/*\n*\/\n\/* AGENT_SHEET *\/\n\/* \u5e94\u7528\u4e8e\u6240\u6709\u60c5\u51b5 \n@-moz-document url-prefix(chrome:\/\/), url-prefix(about:), \nurl-prefix(file:\/\/\/), url-prefix(http:\/\/), url-prefix(https:\/\/){\n*\/\n\/* \u6eda\u52a8\u6761\u80cc\u666f\u57fa\u672c\u6837\u5f0f *\/\nscrollbar{\n-moz-appearance: none !important;\nbackground-color: transparent !important;\/* \u6eda\u52a8\u6761\u80cc\u666f\u900f\u660e *\/\nbackground-image: none !important; \/* \u6eda\u52a8\u6761\u80cc\u666f\u56fe\u6848\u4e0d\u663e\u793a *\/\nposition: relative !important; \/* \u66f4\u6539\u6eda\u52a8\u6761\u7684\u5b9a\u4f4d\u65b9\u5f0f\u4e3a\u76f8\u5bf9 *\/\noverflow: hidden !important;\nz-index: 999999999 !important; \/* \u628a\u6eda\u52a8\u6761\u63d0\u5230Z\u8f74\u6700\u4e0a\u5c42 *\/\n}\n\n\/* \u6eda\u52a8\u6761\u6309\u94ae\u57fa\u672c\u6837\u5f0f *\/\nscrollbar thumb{\n-moz-appearance: none !important;\nbackground-color: rgba(0,100,255,.25) !important;\nborder-radius: 0px !important;\nborder: 1px !important; \/* \u6eda\u52a8\u6761\u6309\u94ae\u8fb9\u6846 *\/\nborder-color: rgba(0,100,255,.1) !important;  \/* \u6eda\u52a8\u6761\u6309\u94ae\u8fb9\u6846\u989c\u8272\u548c\u900f\u660e\u5ea6 *\/\n}\n\n\/* \u6eda\u52a8\u6761\u6309\u94ae:\u9f20\u6807\u60ac\u505c\u4e0e\u70b9\u51fb\u62d6\u52a8\u65f6\u57fa\u672c\u6837\u5f0f *\/\nscrollbar:hover thumb,\nscrollbar thumb:hover,\nscrollbar thumb:active {\nbackground-color: rgba(0,100,255,.75) !important;\nborder: 0px !important;\n}\n\n\/* \u5782\u76f4\u6eda\u52a8\u6761 *\/\n\/* \u628a\u6eda\u52a8\u6761\u4f4d\u7f6e\u79fb\u5230\u5c4f\u5e55\u5916\uff0c\u8fd9\u91cc\u7684\u50cf\u7d20\u5e94\u8be5\u7b49\u4e8e\u5782\u76f4\u6eda\u52a8\u6761\u5bbd\u5ea6\u7684\u8d1f\u503c *\/\nscrollbar[orient=\"vertical\"]{ margin-left: -5px !important; \nmin-width: 5px !important; max-width: 5px !important;\n}\n\n\/* \u5782\u76f4\u6eda\u52a8\u6761\u6309\u94ae\u7684\u5de6\u8fb9\u6846\u6837\u5f0f *\/\nscrollbar thumb[orient=\"vertical\"]{\nborder-style: none none none solid !important; \n}\n\n\/* \u6c34\u5e73\u6eda\u52a8\u6761 *\/\n\/* \u628a\u6eda\u52a8\u6761\u4f4d\u7f6e\u79fb\u5230\u5c4f\u5e55\u5916\uff0c\u8fd9\u91cc\u7684\u50cf\u7d20\u5e94\u8be5\u7b49\u4e8e\u5782\u76f4\u6eda\u52a8\u6761\u5bbd\u5ea6\u7684\u8d1f\u503c *\/\nscrollbar[orient=\"horizontal\"]{ margin-top: -5px !important; \nmin-height: 5px !important; max-height: 5px !important;\n}\n\n\/* \u6c34\u5e73\u6eda\u52a8\u6761\u6309\u94ae\u7684\u4e0a\u8fb9\u6846\u6837\u5f0f *\/\nscrollbar thumb[orient=\"horizontal\"]{\nborder-style: solid none none none !important; \n}\n\n\/* \u53bb\u9664\u5782\u76f4\u4e0e\u6c34\u5e73\u6eda\u52a8\u6761\u76f8\u4ea4\u6c47\u7684\u89d2\u843d *\/\nscrollbar scrollcorner{display: none ! important; }\n\n\/* \u6eda\u52a8\u6761\u4e24\u7aef\u6309\u94ae\u4e0d\u663e\u793a *\/\nscrollbar scrollbarbutton { display: none ! important; }\n\/* \u6eda\u52a8\u6761\u4e24\u7aef\u6309\u94ae\uff0c\u9700\u8981\u5148\u5220\u6389\u4e0a\u9762\u4e00\u884c \nscrollbarbutton{ -moz-appearance: none !important;\nposition: relative !important;\noverflow: hidden !important;\nbackground-color: rgba(0,100,255,.25) !important;\nborder: none !important; \n}\nscrollbar:hover scrollbarbutton, scrollbar scrollbarbutton:hover{\nbackground-color: rgba(0,100,255,.75) !important;\n}\n\/* \u7ad6\u6eda\u52a8\u6761\u4e24\u7aef\u6309\u94ae\u7684\u9ad8\u5ea6 \nscrollbar[orient=\"vertical\"] scrollbarbutton {\nmax-height:10px !important; min-height:10px !important;\n}\n\/* \u6a2a\u6eda\u52a8\u6761\u4e24\u7aef\u6309\u94ae\u7684\u5bbd\u5ea6 \nscrollbar[orient=\"horizontal\"] scrollbarbutton {\nmax-width: 10px !important; min-width: 10px !important;\n}\n\n  *\/\n\n\/*\n} *\/<\/pre>\n<p>\u6765\u6e90\uff1a<a href=\"http:\/\/www.w3cways.com\/1670.html\">http:\/\/www.w3cways.com\/1670.html<\/a><\/p>\n<blockquote><p>IE\u6d4f\u89c8\u5668css\u8bbe\u7f6e\u6eda\u52a8\u6761<\/p><\/blockquote>\n<table class=\"table\">\n<tbody>\n<tr>\n<th width=\"21%\">\u6eda\u52a8\u6761\u6837\u5f0f<\/th>\n<th width=\"14%\">\u652f\u6301\u60c5\u51b5<\/th>\n<th width=\"20%\">\u652f\u6301\u6d4f\u89c8\u5668\u7248\u672c<\/th>\n<th width=\"10%\">\u53ef\u5426\u7ee7\u627f<\/th>\n<th width=\"35%\">\u63cf\u8ff0<\/th>\n<\/tr>\n<tr>\n<td>scrollbar-3dlight-color<\/td>\n<td>IE\u7279\u6709\u5c5e\u6027<\/td>\n<td>IE5.5+<\/td>\n<td>y<\/td>\n<td>\u8bbe\u7f6e\u6eda\u52a8\u6846\u7684\u548c\u6eda\u52a8\u6761\u7bad\u5934\u5de6\u4e0a\u8fb9\u7f18\u7684\u989c\u8272<\/td>\n<\/tr>\n<tr>\n<td>scrollbar-highlight-color<\/td>\n<td>IE\u7279\u6709\u5c5e\u6027<\/td>\n<td>IE5.5+<\/td>\n<td>y<\/td>\n<td>\u8bbe\u7f6e\u6eda\u52a8\u6846\u7684\u548c\u6eda\u52a8\u6761\u7bad\u5934\u5de6\u4e0a\u8fb9\u7f18\u7684\u989c\u8272<\/td>\n<\/tr>\n<tr>\n<td>scrollbar-face-color<\/td>\n<td>IE\u7279\u6709\u5c5e\u6027<\/td>\n<td>IE5.5+<\/td>\n<td>y<\/td>\n<td>\u8bbe\u7f6e\u6eda\u52a8\u6846\u548c\u6eda\u52a8\u6761\u7bad\u5934\u7684\u989c\u8272<\/td>\n<\/tr>\n<tr>\n<td>scrollbar-arrow-color<\/td>\n<td>IE\u7279\u6709\u5c5e\u6027<\/td>\n<td>IE5.5+<\/td>\n<td>y<\/td>\n<td>\u8bbe\u7f6e\u6eda\u52a8\u6761\u7bad\u5934\u7684\u989c\u8272<\/td>\n<\/tr>\n<tr>\n<td>scrollbar-shadow-color<\/td>\n<td>IE\u7279\u6709\u5c5e\u6027<\/td>\n<td>IE5.5+<\/td>\n<td>y<\/td>\n<td>\u8bbe\u7f6e\u6eda\u52a8\u6846\u7684\u548c\u6eda\u52a8\u6761\u7bad\u5934\u53f3\u4e0b\u8fb9\u7f18\u7684\u989c\u8272<\/td>\n<\/tr>\n<tr>\n<td>scrollbar-dark-shadow-color<\/td>\n<td>IE\u7279\u6709\u5c5e\u6027<\/td>\n<td>IE5.5+<\/td>\n<td>y<\/td>\n<td>\u8bbe\u7f6e\u6eda\u52a8\u6761\u69fd\u7684\u989c\u8272<\/td>\n<\/tr>\n<tr>\n<td>scrollbar-base-color<\/td>\n<td>IE\u7279\u6709\u5c5e\u6027<\/td>\n<td>IE5.5+<\/td>\n<td>y<\/td>\n<td>\u8bbe\u7f6e\u6eda\u52a8\u6761\u4e3b\u8981\u6784\u6210\u90e8\u5206\u7684\u989c\u8272<\/td>\n<\/tr>\n<tr>\n<td>scrollbar-track-color<\/td>\n<td>IE\u7279\u6709\u5c5e\u6027<\/td>\n<td>IE5.5+<\/td>\n<td>y<\/td>\n<td>\u8bbe\u7f6e\u6eda\u52a8\u6761\u8f68\u8ff9\u7ec4\u6210\u90e8\u5206\u7684\u989c\u8272<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6587\u5730\u5740\uff1aphp100 \u6765\u6e90\uff1aWEB\u9a87\u5ba2 webkit-css\u90e8\u5206 \/* *\/ ::-webkit-scrol &hellip; <a href=\"https:\/\/loveuhouse.cn\/wordpress\/?p=175\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u6539\u53d8\u6eda\u52a8\u6761scroll\u6837\u5f0f<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/loveuhouse.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/175"}],"collection":[{"href":"https:\/\/loveuhouse.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/loveuhouse.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/loveuhouse.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/loveuhouse.cn\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=175"}],"version-history":[{"count":4,"href":"https:\/\/loveuhouse.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/175\/revisions"}],"predecessor-version":[{"id":217,"href":"https:\/\/loveuhouse.cn\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/175\/revisions\/217"}],"wp:attachment":[{"href":"https:\/\/loveuhouse.cn\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/loveuhouse.cn\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/loveuhouse.cn\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}