Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Rounded Background

// Add Shortcode
function rounded_bg_shortcode( $atts , $content = null ) {

	// Attributes
	extract( shortcode_atts(
		array(
			'bg-color' => '#F3715D',
			'text-color' => '#fff',
			'radius' => '4px',
		), $atts )
	);

	// Code
return '<p 
		style="background-color:' . $bg-color . ';
		color:' . $text-color . ';
		border-radius:' . $radius . '"
>';
}
add_shortcode( 'rounded_bg', 'rounded_bg_shortcode' );