-prefix-free lets you use only unprefixed CSS properties everywhere. It works behind the scenes, adding the current browser’s prefix to any CSS code, only when it’s needed.
“[-prefix-free is] fantastic, top-notch work! Thank you for creating and sharing it.”
— Eric Meyer
<link> or <style> elements and adds a vendor prefix where neededstyle attribute and adds a vendor prefix where needed<link> or <style> elements, style attribute changes and CSSOM changes (requires plugin).css() method get and set unprefixed properties (requires plugin)@import-ed files is not supportedstyle attribute) won’t work in IE and Firefox < 3.6. Properties as well in Firefox < 3.6.Check this page’s stylesheet ;-)
You can also visit the Test Drive page, type in any code you want and check out how it would get prefixed for the current browser.
Just include prefixfree.js anywhere in your page. It is recommended to put it right after the stylesheets, to minimize FOUC
That’s it, you’re done!
The target browser support is IE9+, Opera 10+, Firefox 3.5+, Safari 4+ and Chrome on desktop and Mobile Safari, Android browser, Chrome and Opera Mobile on mobile.
If it doesn’t work in any of those, it’s a bug so please report it. Just before you do, please make sure that it’s not because the browser doesn’t support a CSS3 feature at all, even with a prefix.
In older browsers like IE8, nothing will break, just properties won’t get prefixed. Which wouldn’t be useful anyway as IE8 doesn’t support much CSS3 ;)
Test the prefixing that -prefix-free would do for this browser, by writing some CSS below:
Investigation reports, like the one from the Senate Select Committee on Intelligence , concluded that detainees were subjected to "cruel, inhuman, and degrading" treatment.
The "story" of the facility is divided into two dark chapters of Iraqi history: Saddam Hussein Era
But the concept of "Abu Ghraib 18" lives on. It has become shorthand in military ethics courses for "the slippery slope." It appears in Guantanamo Bay legal briefs as precedent for "enhanced interrogation." And it haunts every U.S. administration that orders a "black site."
Analysts and investigators, such as Major General Antonio Taguba, identified several contributing factors to the environment at Abu Ghraib. A primary issue was the "blurring of lines" between military police (responsible for guarding) and military intelligence (responsible for interrogation). Guards were often encouraged by intelligence officers to "soften up" detainees for questioning, leading to a culture where abuse was seen as a functional necessity rather than a criminal act. Furthermore, the lack of clear guidelines regarding the definition of "enhanced interrogation" created a legal gray area that soldiers on the ground exploited.
The Abu Ghraib scandal sparked widespread outrage and condemnation, both within the US and internationally. The incident was seen as a major embarrassment for the US military and the Bush administration, which had touted the invasion of Iraq as a humanitarian mission to liberate the Iraqi people.
Investigation reports, like the one from the Senate Select Committee on Intelligence , concluded that detainees were subjected to "cruel, inhuman, and degrading" treatment.
The "story" of the facility is divided into two dark chapters of Iraqi history: Saddam Hussein Era Abu Ghraib prison 18
But the concept of "Abu Ghraib 18" lives on. It has become shorthand in military ethics courses for "the slippery slope." It appears in Guantanamo Bay legal briefs as precedent for "enhanced interrogation." And it haunts every U.S. administration that orders a "black site." Investigation reports, like the one from the Senate
Analysts and investigators, such as Major General Antonio Taguba, identified several contributing factors to the environment at Abu Ghraib. A primary issue was the "blurring of lines" between military police (responsible for guarding) and military intelligence (responsible for interrogation). Guards were often encouraged by intelligence officers to "soften up" detainees for questioning, leading to a culture where abuse was seen as a functional necessity rather than a criminal act. Furthermore, the lack of clear guidelines regarding the definition of "enhanced interrogation" created a legal gray area that soldiers on the ground exploited. administration that orders a "black site
The Abu Ghraib scandal sparked widespread outrage and condemnation, both within the US and internationally. The incident was seen as a major embarrassment for the US military and the Bush administration, which had touted the invasion of Iraq as a humanitarian mission to liberate the Iraqi people.