Hello,
I am developping a mod plugin and I want to add a css for a div I display in the course page with the function myplugin_cm_info_view().
But I don't know how to do as I can't use
$PAGE->requires->css(new moodle_url('/mod/myplugin/styles/styles.css'));since I understand that a CSS file cannot be required after <head> has been printed.