css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=9" />

	<title>[ABCD] 처음배우는 HTML, CSS - sample html</title>

	<meta name="keywords" content="사이트,키워드" />
	<meta name="description" content="사이트 설명" />

	<link rel="stylesheet" media="screen" href="sample-css.css" />
	<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
	<div id="wrapper">
		<!-- header -->
			<h1>[ABCD] 처음배우는 HTML, CSS - sample html</h1>
			<p>Page Description</p>
					<li><a href="#">HOME</a></li>
		<!-- /header -->
		<!-- main -->
		<main id="main">
			<section class="main-section">
				<h2>Page Section Title</h2>
				<!-- article 01 -->
				<article class="sub-article_01">
					<h3>Article Title</h3>
					<div class="sub-box">
						<h4>Div Title</h4>
						<p><img src="https://app.box.com/representation/file_version_26635547706/image_2048_jpg/1.jpg" alt=""></p>
						<p><img src="https://app.box.com/representation/file_version_26635546744/image_2048/1.png" alt=""></p>
				<!-- /article 01 -->
				<!-- article 02 -->
				<article class="sub-article_02">
					<h3>Article Title</h3>
				<!-- /article 02 -->
		<!-- /main -->
		<!-- aside -->
		<aside class="aside">
		<!-- /aside -->
		<!-- footer -->
					<a href="#">LINK</a>
					<a href="#">LINK</a>
			<a href="URL" rel="license">라이센스</a>
			<p>Copyright @ 2015</p>
		<!-- footer -->

              /* ---------------------------------
[ABCD 처음배우는 HTML, CSS]
2015.03.14 - HTML
2015.03.21 - CSS
2015.03.28 - HTML + CSS
--------------------------------- */

/* ---------------------------------
--------------------------------- */
header, article, section, nav, footer, div,
body, h1, h2, h3, h4, h5, h6, ul, ol, aside,
a, li, img, p, span, main, hgroup, figure, time {
	margin: 0; padding: 0;
ol, li {
	list-style-type: none;

/* ---------------------------------
--------------------------------- */
header, main, footer {
	display: block;
header {
	background: #AAA;
	width: 90%;			/* padding:5%를 합해 100% */
section {
	background: #EEE;
main {
	width: 70%;
	float: left;
	background: #CCC;
aside {
	width: 30%;
	float: right;
	background: #CFCFCF;
footer {
	width: 90%;
	clear: both;
	background: #AAA;

/* ---------------------------------
Wrapper - 여기서부터 페이지용 CSS
--------------------------------- */
#wrapper {
	max-width: 940px;	/* 최대치 */
	margin: 0 auto;
	padding: 5%;
header, footer {
	padding: 5%;
.main-section {
	padding: 5%;
.sub-article_02 {
	padding: 5%;
	border: 1px solid #CCC;
.aside {
	/*border: 1px solid #CCC;*/

🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................