inc/customizer.php
public static function parse_css_rules( array $rules ) {

		ob_start();

		foreach ( $rules as $rule => $properties ) {

			printf(
				"%s {\n",
				implode( ",\n", array_map( 'trim', explode( ',', $rule ) ) )
			);

			foreach ( $properties as $property => $value ) {

				printf( "\t%s: %s;\n", $property, $value );

			}

			echo "}\n";

		}

		return ob_get_clean();

	}
public static function parse_css_rules( array $rules ) {

		ob_start();

		foreach ( $rules as $rule => $properties ) {

			printf(
				"%s {\n",
				implode( ",\n", array_map( 'trim', explode( ',', $rule ) ) )
			);

			foreach ( $properties as $property => $value ) {

				printf( "\t%s: %s;\n", $property, $value );

			}

			echo "}\n";

		}

		return ob_get_clean();

	}
public static function parse_css_rules ( array $ rules ) { ob_start ( ) ; foreach ( $ rules as $ rule => $ properties ) { printf ( "%s {\n" , implode ( ",\n" , array_map ( 'trim' , explode ( ',' , $ rule ) ) ) ) ; foreach ( $ properties as $ property => $ value ) { printf ( "\t%s: %s;\n" , $ property , $ value ) ; } echo "}\n" ; } return ob_get_clean ( ) ; }
Return an array of CSS rules as plain CSS.

@since 1.0.0

@param  array $rules

@return string
Return an array of CSS rules as plain CSS .