functions read style.css wordpress code example
Example 1: function for style your theme wordpress
function register_styles() {
wp_register_style( 'theme_styles', get_template_directory_uri() . '/styles/main_global.css' );
wp_enqueue_style( 'theme_styles' );
}
Example 2: function for style your theme wordpress php
wp_enqueue_style( 'slider', get_template_directory_uri() . '/css/slider.css',false,'1.1','all');