I'm trying to load style.css but rest.css should be included first. I don't understand why reset.css is not included
function addMyScript() {
wp_register_style('style', get_template_directory_uri().'/style.css');
wp_register_style('reset', get_template_directory_uri().'/reset.css');
wp_enqueue_style('style', get_template_directory_uri().'/style.css', array( 'reset' ), );
}
add_action('wp_head', 'addMyScript');
Also I've seen on some blogs that people often don't register the stylesheet or javascript before to enqueue... is that ok?