本文整理匯總了PHP中Resource::css方法的典型用法代碼示例。如果您正苦於以下問題:PHP Resource::css方法的具體用法?PHP Resource::css怎麽用?PHP Resource::css使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Resource
的用法示例。
在下文中一共展示了Resource::css方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
<?php
$params->title = "Controller";
$params->js = array(Resource::js('controller'), Resource::js('editor'), '/CodeMirror/js/codemirror.js');
$params->css = array(Resource::css('style'), Resource::css('controller'), Resource::css('editor'));
示例2: array
<?php
$params->title = "Bong Web Architecture PHP Implementation";
$params->js = array(SysResource::js("jquery"), SysResource::js("dump"), SysResource::js("bong.bootstrap"));
$params->css = array(Resource::css('style'), SysResource::css("dump"));
示例3: base_url
?>
" />
<link rel="stylesheet" href="<?php
echo Resource::css('assets/bootstrap/css/bootstrap-theme.min.css');
?>
" />
<link rel="stylesheet" href="<?php
echo Resource::css('assets/site/css/index.css');
?>
" />
<link rel="stylesheet" href="<?php
echo Resource::css('assets/site/css/homepage.css');
?>
" />
<link rel="stylesheet" href="<?php
echo Resource::css('assets/site/css/guest.css');
?>
" />
<script>
var jsHome = '<?php
echo base_url();
?>
';
</script>
</head>
<body>
<div class="page">
<div class="container-fluid home_top"><?php
$this->load->view('top');
?>
</div>