English 中文(简体)
在什么地方,我可以找到一个交叉浏览器,CSS会变调器?
原标题:Where can I find a cross browser, CSS modifier?
  • 时间:2011-10-14 08:36:27
  •  标签:
  • css

由于一些特别安全局的搭售财产,我们需要所有这些不同类型的方法、trick和 ha,使事情跨越浏览器。 我从来不希望成为国际教育学会的一位专家,并使它发挥作用。 我想专门设计好的、实用的和方便用户的网络应用,而不要问,这个四舍五入的玉米是否将四舍五入。

CSS3,甚至CSS在象IE7那样的浏览器(我不关心IE6)中工作,并且不得不花这么多时间在不同的浏览器中做事,一个站点的创作概念和实际目标就消失了。

Is there is a solution for making/morphing CSS/CSS3 to be compatible with browsers that don t support it. Perhaps a JavaScript library?

能够改变这种不透明做法是明智的:

.style { opacity: 0.5; }

并且不喜欢:

.style {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
    opacity: 0.7;
}

......similar to Prefix Free, which present doesn t support IE

因此,那里是否有圣贾瓦文图书馆能够按照特定浏览器的需要,积极扩大社区服务,并使社区服务公司3提供支持,以及今后对社区服务公司3的证明?

最佳回答

一种想法是研究LESS框架。 它是一种以目标为导向的方式开展特别安全工作。 为了创造不透明性,你也这样做:

.opacity (@opacity) {
    opacity: @opacity;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=@opacity*100)";
    filter: alpha(opacity=@opacity*100);
}

然后,你只是“召唤”这种功能。

.style {
    .opacity(0.7);
}

And the output would be like your second code snippet

问题回答

我将CSS3PIE用于IE兼容性!

Not sure if there d be any clashes between Prefix Free and CSS Pie - but it s worth a shot!

http://css3pie.com/rel=“nofollow”http://cs3pie.com/

它需要一点工作范围,但毕竟它非常好!

http://cssprefixer.appspot.com/“rel=“nofollow”http://cssprefixer.appspot.com/ 可能是一个好的选择! 加上“小经济体”等内容,这样做是一种可行的选择,但我猜测最终结果将降至某种适当的基准。

它完全涉及尽量减少CSS的档案规模,同时力求使客户在提供超文本执行和联合材料方面达到最大业绩。





相关问题
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....

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

Drop down background url in Safari Issue

selectBox.selectCSS { background: url(/Images/replacementSelectBackground.png) top left no-repeat height:auto; } I have an issue in Safari only where the image is not rendering on top ...

CSS specific for Safari

How do you target specifically safari in css with styles?

Aligning textarea in a form

Ive used the following css code to align my form elements: form { position:relative; } form input { position:absolute; left:11em; } However, the textarea element is not aligned correctly with the ...

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 ...

CSS problem with page footer

I have defined my page footer in the css file as: #footer { position: absolute; height: 50px; text-align: center; background: #66CCCC; bottom: 0px; left: 0px; width: 100%; height: ...

热门标签