I need to position this update button on www.euroworker.no/order (you\'ll have to add an item to the cart, use the Kjøp button to add and Handlevogn to view the cart). Works
@media screen and (-webkit-min-device-pixel-ratio:0) {
/*Chrome CSS here*/
#cartUpdate {
position:absolute;
width:160px;
height:30px;
left:660px;
bottom:40px;
}
}
Fixed the problem :)
UPDATE
This resource works better: CSS browser/OS selectors with JS.
There are some browser hacks available for targeting a specific browser,some of them will work on all the versions of the browser,and some one them not.
Here is the list of some the Google Chromes's hacks:
.selector:not(*:root) {}
@supports (-webkit-appearance:none) {}
Google Chrome 28,and Google Chrome > 28, Opera 14 and Opera > 14
.selector { (;property: value;); }
.selector { [;property: value;]; }
Google Chrome 28,and Google Chrome < 28, Opera 14 and Opera > 14,and Safari 7 and Less than 7. - Google Chrome:28 and Before - Safari:7 and Before - Opera :14 and Later
var isChromium = !!window.chrome;
var isWebkit = 'WebkitAppearance' in document.documentElement.style;
var isChrome = !!window.chrome && !!window.chrome.webstore;
@media \\0 screen {}
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { .selector {} }
For more information please visit this website