English 中文(简体)
WebKit.net C#: CSS 渐变( 数量)
原标题:WebKit.NET C#: CSS Gradient (Radial)

我正在开发C# 的赢项表格, 使用 WebKit.Net 网络浏览器组件创建 HTML 5 网页。 我怎么可能用 WebKit. Net 创建一个线性梯度? 我尝试过类似的东西, 但只有 - Webkit 梯度工作 。

background: rgb(249,225,225); /* Old browsers */
background: -moz-radial-gradient(center, ellipse cover,  rgba(249,225,225,1) 0%, rgba(248,197,197,1) 38%, rgba(243,130,130,1) 87%, rgba(251,32,32,1) 100%); /* FF3.6+ */
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(249,225,225,1)), color-stop(38%,rgba(248,197,197,1)), color-stop(87%,rgba(243,130,130,1)), color-stop(100%,rgba(251,32,32,1))); /* Chrome,Safari4+ */
background: -webkit-radial-gradient(center, ellipse cover,  rgba(249,225,225,1) 0%,rgba(248,197,197,1) 38%,rgba(243,130,130,1) 87%,rgba(251,32,32,1) 100%); /* Chrome10+,Safari5.1+ */

我在想WebKit.Net除了WebKit-gradient之外还能使用任何其他语法吗?因为我试图用椭圆而不是圆形来制造椭圆形。

感谢任何人能解决此事:)

最佳回答

我教了一段时间, 并找到一个解决方案.NET :) 它实际上很容易在 Open Webkit Sharp 中完成 :) 它支持 HTML5 & amp; CSS3 的最新功能 :) 它支持 HTML5 & amp; CSS3 的最新功能 。

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签