예제 #1
0
<!DOCTYPE html>
<html lang="en">
<head>
	<?php 
echo base::meta('project');
?>
	<?php 
echo base::css('style');
?>
	<style type="text/css"><?php 
echo $data['css'];
?>
</style>
</head>
<body>
	<header class="header">
		
	</header>
	<div class="wrapper">
		<div class="sprite-example">
			<ul class="icon-list">
				<?php 
foreach ($data['class'] as $item) {
    ?>
				<li title="icon-<?php 
    echo substr($item, 1);
    ?>
">
					<i class="icon icon-<?php 
    echo substr($item, 1);
    ?>
예제 #2
0
파일: sprite.php 프로젝트: suconghou/sprite
<!DOCTYPE html>
<html lang="en">
<head>
	<?php 
echo base::meta('Css Sprite');
?>
	<?php 
echo base::css('style');
?>
</head>
<body>
	<header class="header">
		
	</header>
	<div class="wrapper">
		<div class="uploadForm">
			<p>
				<input type="text" id="store-project">
				<input type="text" id="store-name">
				<input type="text" id="store-comment">
				<textarea id="store-css"></textarea>
				<input type="file" id="store-img">
				<button onclick="app.sprite.test()">TEST</button>
			</p>
		</div>
	</div>
	<footer class="footer">
		<?php 
echo base::js('jquery-main');
?>
	</footer>