Enqueue a CSS stylesheet.

Registers the style if source provided (does NOT overwrite) and enqueues.

Signature

wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false, $media = 'all' )
handle
 (string) Name of the stylesheet.
src
 (string|boolean) Path to the stylesheet from the root directory of WordPress. Example: '/css/mystyle.css'.
Default: false
deps
 (array) An array of registered style handles this stylesheet depends on. Default empty array.
Default: array()
ver
 (string|boolean) String specifying the stylesheet version number, if it has one. This parameter is used to ensure that the correct version is sent to the client regardless of caching, and so should be included if a version number is available and makes sense for the stylesheet.
Default: false
media
 (string) Optional. The media for which this stylesheet has been defined. Default 'all'. Accepts 'all', 'aural', 'braille', 'handheld', 'projection', 'print', 'screen', 'tty', or 'tv'.
Default: 'all'

Return

(void)

Source

function wp_enqueue_style( $handle, $src = false, $deps = array(), $ver = false, $media = 'all' ) {
	global $wp_styles;
	if ( ! is_a( $wp_styles, 'WP_Styles' ) ) {
		if ( ! did_action( 'init' ) )
			_doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ),
				'<code>wp_enqueue_scripts</code>', '<code>admin_enqueue_scripts</code>', '<code>login_enqueue_scripts</code>' ), '3.3' );
		$wp_styles = new WP_Styles();
	}

	if ( $src ) {
		$_handle = explode('?', $handle);
		$wp_styles->add( $_handle[0], $src, $deps, $ver, $media );
	}
	$wp_styles->enqueue( $handle );
}
WP Trac GitHub

Link here