<?php defined('BASEPATH') or exit('No direct script access allowed'); ?> <!DOCTYPE html> <html lang="en"> <head> <!-- Metas --> <meta charset="utf-8"> <title>Welcome to CodeIgniter</title> <!-- Links --> <link rel="stylesheet/less" type="text/css" href="<?php echo less_url('index'); ?> " /> <!-- Scripts --> <script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.3/less.min.js"></script> </head> <body> <div id="container"> <h1>Welcome to CodeIgniter! Master ?</h1> <div id="body"> <p>The page you are looking at is being generated dynamically by CodeIgniter.</p> <p>If you would like to edit this page you'll find it located at:</p>
function less($file) { return '<link rel="stylesheet/less" type="text/css" href="' . less_url() . $file . '">' . "\n"; }
?> <link rel="stylesheet" href="<?php echo asset_url('assets/css/bootstrap.min.css'); ?> "> <link rel="stylesheet" href="<?php echo less_url('assets/less/screen.less'); ?> " media="screen"> <link rel="stylesheet" href="<?php echo less_url('assets/less/tablet.less'); ?> " media="screen and (min-width: 768px) and (max-width: 991px)"> <link rel="stylesheet" href="<?php echo less_url('assets/less/mobile.less'); ?> " media="screen and (max-width: 767px)"> <?php foreach ($css_files as $file) { ?> <link rel="stylesheet" href="<?php echo $file; ?> "> <?php } ?> <?php //CSS custom