English 中文(简体)
预算外:
原标题:HTML Shadow Attributes?

最近,我发现野生生物中的这些奇怪的超文本属性:

<div shadowblur="1" shadowcolor="black" shadowopacity="0.5">

任何想法都会影响这种影响? 是否使用好的想法?

最佳回答

它影响到<代码><canvas> tag:

HTML5 Canvas, shadowColor & shadowBlur
http://www.williammalone.com/articles/html5-canvas-example/

EDIT:

确实,它以<条形码>、印章/代码”的形式进行。

问题回答

很可能通过集体工作

这将有助于你们理解。

CSS 副手: 如果习俗归属具有价值,则适用等级? 而且,它是否在E7+中工作?

就我所知,这些属性并不有效。 我的猜测是,这些文字被用于某种效果。 举例来说,用j Query 写法可以很容易地复制所有<条码>div内容,并相应地采用一套CSS风格。

虽然这可以奏效,但更好的想法是使用超文本5<代码>-data-*属性,否则你的标记将无效。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签