* @link https://www.elicus.com/ * @copyright 2019 Elicus Technologies Private Limited * @version 1.4.1 */ if ( '' !== $flip_speed ) { ET_Builder_Element::set_style( $render_slug, array( 'selector' => '%%order_class%% .el-transition.layout2, %%order_class%%:hover .el-transition.layout2', 'declaration' => sprintf( '-webkit-transition: transform %1$sms ease;', intval( $flip_speed ) ) ) ); ET_Builder_Element::set_style( $render_slug, array( 'selector' => '%%order_class%% .el-transition.layout2, %%order_class%%:hover .el-transition.layout2', 'declaration' => sprintf( '-moz-transition: transform %1$sms ease;', intval( $flip_speed ) ) ) ); ET_Builder_Element::set_style( $render_slug, array( 'selector' => '%%order_class%% .el-transition.layout2, %%order_class%%:hover .el-transition.layout2', 'declaration' => sprintf( 'transition: transform %1$sms ease;', intval( $flip_speed ) ) ) ); } if( '' !== $front_image ) { if ( 'off' === $front_use_icon ) { $f_image = '
'.$front_image.'
'; } else{ if( 'on' === $front_style_icon ) { $f_image = '
'.$front_image.'
'; } else{ $f_image = '
'.$front_image.'
'; } } } else { $f_image = ''; } if( '' !== $front_title ) { $f_title = '
'.$front_title.'
'; } else { $f_title = ''; } if( '' !== $front_content ) { $f_content = '
'.$front_content.'
'; } else { $f_content = ''; } if( '' !== $back_image ) { if ( 'off' === $back_use_icon ) { $b_image = '
'.$back_image.'
'; } else { if( 'on' === $back_style_icon ) { $b_image = '
'.$back_image.'
'; } else{ $b_image = '
'.$back_image.'
'; } } } else { $b_image = ''; } if( '' !== $back_title ) { $b_title = '
'.$back_title.'
'; } else { $b_title = ''; } if( '' !== $back_content ) { $b_content = '
'.$back_content.'
'; } else { $b_content = ''; } if( '' !== $back_button_output ) { $b_button = '
'.$back_button_output.'
'; } else { $b_button = ''; } $flipbox_content = '
' .$f_image. '
' .$f_title .$f_content. '
' .$b_image. '
' .$b_title .$b_content .$b_button. '
';