css - Use jQuery to remove global properties -
below global properties added page :
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
since there not 'none' alternative on these properties can jquery used remove these properties page or div ?
update :
creating own stylesheet :
* { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; }
and importing seems prepare issue.
this seems clear cache location of these styles located ? don't know if ie8 issue.
you can apply content-box
instead (which is default, old css 2.1 behavior):
$("selector elements").css({ "-webkit-box-sizing": "content-box", "-moz-box-sizing": "content-box", "box-sizing": "content-box" });
you might consider using style instead border-box
(from css-tricks):
html { box-sizing: border-box; /* ...prefixed versions see fit...*/ } *, *:before, *:after { box-sizing: inherit; /* ...prefixed versions see fit...*/ }
if that, can set content-box
on container element, , elements within inherit it. of import when using widgets on page designed old box model.
jquery css styles
No comments:
Post a Comment