Archive for the ‘CSS’ Category

13 10 2010

display:inline-block 去间隙

bigCat Posted in CSS - 0 Comment
-webkit-text-size-adjust:none;/*for chrome zh_CN*/\r\nfont-size:0;
8 10 2010

滚动条CSS图解

bigCat Posted in CSS - 0 Comment

\r\n\r\nscrollbar-3dlight-color: 滚动条亮边的颜色\r\nscrollbar-arrow-color: 上下按钮上三角箭头的颜色\r\nscrollbar-base-color: 滚动条的基本颜色\r\nscrollbar-darkshadow-color: 滚动条强阴影的颜色\r\nscrollbar-3dlight-color: 滚动条凸出部分的颜色\r\nscrollbar-highlight-color:滚动条空白部分的颜色\r\nscrollbar-shadow-color: 立体滚动条阴影的颜色\r\nscrollbar-track-color: 滚动条的背景颜色\r\n\r\nscrollbar-base-color 这个属性是个其余7个属性的总合,当设了这个属性的颜色后,其余7个属性都可以不用设置了,只是这个设定是基于scrollbar-base-color的颜色而自动设定。\r\n注:设定了scrollbar-base-color就不要设定其他七个属性了,设定了其他七个属性就不要设定scrollbar-base-color,不然之间可能会有冲突,影响作用效果。\r\n\r\nflash做的配色工具

29 09 2010

webkit 自定义滚动条 Styling Scrollbars

bigCat Posted in CSS - 1 Comment

http://webkit.org/blog/363/styling-scrollbars/

30 08 2010

-ms-interpolation-mode Attribute | msInterpolationMode Property

bigCat Posted in CSS - 0 Comment

http://msdn.microsoft.com/en-us/library/ms530822%28VS.85%29.aspx\r\n\r\nSets or retrieves the interpolation (resampling) method used to stretch images.\r\n\r\nSyntax\r\n

\r\n
\r\n
\r\n
\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n

HTML { -ms-interpolation-mode : sMode }
Scripting [ sMode = ] object.style.msInterpolationMode [ = v ]

\r\n

\r\nPossible Values\r\n

\r\n
\r\n
\r\n
\r\n

\r\n

\r\n

\r\n

\r\n

sMode String that specifies or receives one of the following values.
nearest-neighbor
Always use nearest neighbor interpolation mode.
bicubic
Always use high-quality bicubic interpolation mode.

\r\nThe property is read/write for all objects except the following, for which it is read-only: currentStyle. The property has no default value. The Microsoft Cascading Style Sheets (CSS) extension is not inherited.

\r\nRemarks\r\n

msInterpolationMode was introduced in Windows Internet Explorer 7.\r\n\r\nThe msInterpolationMode property applies to stretched images only. For example, if the natural width of the image is 200x200 but the page designer specifies that the height and width should be 400x400, then the image will be stretched to the new dimensions using the nearest-neighbor algorithm, unless otherwise specified.\r\n\r\nIf the zoom level of the page is 100%, the default interpolation is nearest-neighbor, otherwise bicubic mode is used.

\r\nExample\r\n

The following example applies the -ms-interpolation-mode attribute to determine the resampling algorithm of stretched images. The sample requires Internet Explorer 7 or later to view.\r\n
\r\n
\r\n
\r\n

\r\n

\r\n

\r\n
\r\n
<html>\r\n<head>\r\n<style>\r\nimg.highqual { -ms-interpolation-mode:bicubic }\r\nimg.nearestn { -ms-interpolation-mode:nearest-neighbor }\r\n</style>\r\n</head>\r\n<body>\r\n<img src="sphere.jpg" width="175" height="350">\r\n<img src="sphere.jpg" width="175" height="350">\r\n<img src="sphere.jpg" width="175" height="350">\r\n<p>Change the zoom level of the page to see the difference.</p>\r\n</body>\r\n</html> \r\n

\r\n

\r\n

\r\n

\r\n

\r\n

\r\n\r\nThis feature requires Windows Internet Explorer 7 or later. Click the following icon to install the latest version. Then reload this page to view the sample.\r\n\r\n

\r\nStandards Information\r\n

This property is a Microsoft extension to Cascading Style Sheets (CSS) World Wide Web link.

\r\nApplies To\r\n

\r\n
\r\n
\r\n

\r\n

\r\n

\r\n

\r\n

currentStyle, IMG, runtimeStyle, style, CSSCurrentStyleDeclaration Constructor, CSSRuleStyleDeclaration Constructor, CSSStyleDeclaration Constructor
25 08 2010

IE Filter

bigCat Posted in CSS - 0 Comment

http://placenamehere.com/article/384/CSS3BoxShadowinInternetExplorerBlurShadow\r\n\r\nhttp://www.fetchak.com/ie-css3/

Host: (miao) | Word: Press | Code: HTML5