   target
 
 
-transformProp = testProp 'transform'
-transformOriginProp = testProp 'transformOrigin'
-transformStyleProp = testProp 'transformStyle'
-transitionProp = testProp 'transitionProperty'
-transitionDurationProp = testProp 'transitionDuration'
-transitionEasingProp = testProp 'transitionTimingFunction'
-perspectiveProp = testProp 'perspective'
-backfaceProp = testProp 'backfaceVisibility'
-gradientPrefix = testGradient()
-
-if !transformProp or !transitionProp or !perspectiveProp or 
-  !backfaceProp or !transformOriginProp or !transformStyleProp
-    oriDomiSupport = false
+css = 
+  transform: 'transform'
+  transformOrigin: 'transformOrigin'
+  transformStyle: 'transformStyle'
+  transitionProp: 'transitionProperty'
+  transitionDuration: 'transitionDuration'
+  transitionEasing: 'transitionTimingFunction'
+  perspective: 'perspective'
+
+
+for key, value of css
+  css[key] = testProp value
+  if !css[key]
     console?.warn 'oriDomi: Browser does not support oriDomi'
+    break
+
 css.gradientProp = getGradientProp()
 css.transformProp = getTransformProp()
 

        else
          rotation = [1, 0, 0, -deg]

      panel.style[transformProp] = @_transform @_getXy(i, anchor), rotation

      if @shading and !(i is 0 and options.anchor) and Math.abs(deg) isnt 180
        @_setShader i, anchor, deg

    hPanel.style.width = '100%'
    hPanel.style.height = @panelHeight + 'px'
    hPanel.style.padding = '0'
    hPanel.style[css.transitionProp] = css.transformProp
    hPanel.style[css.transitionDuration] = @settings.speed + 's'
    hPanel.style[css.transitionEasing] = @settings.easingMethod
    hPanel.style[css.transformOrigin] = 'top'
    hPanel.style[css.transformStyle] = 'preserve-3d'
    hPanel.appendChild hMask

    for anchor in ['top', 'bottom']
      for i in [1..@hPanels]
        panel = hPanel.cloneNode true
        content = panel.getElementsByClassName('oridomi-content')[0]
        panel.style[css.transform] = @_transform @_getXy i - 1, anchor

        if anchor is 'top'
          yOffset = -((i - 1) * @panelHeight)
        else
          panel.style[css.transformOrigin] = 'bottom'
          yOffset = -((@hPanels * @panelHeight) - (@panelHeight * i))

        content.style[css.transform] = @_transform [0, yOffset]

        if @shading
          @shaders[anchor].top[i - 1] = panel.getElementsByClassName('oridomi-shader-top')[0]
