public function name() {
$pattern['style_css'] = array('style1.css','style2.css');
$this->load->view('header', $pattern);
}
<?php
if (!empty($style_css)):
foreach ($style_css as $css): ?>
<link href="<?php echo site_url($css); ?>" rel="stylesheet">
<?php
endforeach;
endif;
?>