> Le 18 nov. 2014 à 02:18, Tom Livingston <tom...@gmail.com> a écrit : > > I am using transform: translate3d(0px, 0px, 0px); on a parent element > for off-screen mobile nav. > > At wider widths, I switch to a typical top nav, and add position:fixed > to my header (a child of the aforementioned parent element). After > some research, I learned that the transform on the parent of my header > will mess up the fixed positioning. My question is how do I "turn > off/negate/undo" the transition at wider widths so my fixed header > will work?
The initial value for the transform property is `none` http://dev.w3.org/csswg/css-transforms/#transform-property So for your wide screen stylesheet, this should do the trick: E { transform: none; } Philippe -- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/