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


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <html lang="ru-RU">
	<meta charset="UTF-8">
	<meta name="author" content="reskwer">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<title>Что-то на CodePen</title>
	<link rel="stylesheet" href="style.css">
	<div class="block">
		<span>News</span><span>|</span><span>15 october 2011 - 18:32</span>
		<h1>Lorem ipsum dolor.</h1>
		<img src="" alt="img">
		<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus dicta, neque suscipit amet ipsa, quidem, nisi ratione non ex magni et excepturi quaerat atque facere ad facilis, explicabo accusantium magnam.</p>
		<a href="#">read more</a>


	font-family: tahoma,verdana,arial;
	padding: 25px;
	width: 600px;
	height: 250px;
	border-bottom: 2px dotted #ccc;
	position: relative;
.block img{
	float: left;
	margin: 0 8% 0 1%;
	border: 3px solid #000;
	border-radius: 3px;
.block span:nth-child(1){
	font: italic 120% tahoma;
.block span:nth-child(2){
	color: #ccc;
	display: inline-block;
	padding: 0 15px;
.block span:nth-child(3){
	font-size: 80%;
	color: #ccc;
.block h1{
	font-size: 140%;
.block a{
	display: block;
	background: #eee;
	color: black;
	font-style: italic;
	width: 100px;
	height: 22px;
	position: absolute;
	right: 20px;
	text-align: center;
	text-decoration: none;