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.


                <div class="post">
<div class="post-header">
  <h1>10 лучших мест для путешествия</h1>
  <div class="dots"><span></span></div>
  <div class="info">
    <span>Путешествия, Приключения</span><span> - </span><span>Автор</span><span> - </span> <span>Сентябрь 15, 2015</span>
  <img src="">
  <figcaption>Вы готовы к путешествиям?</figcaption>
<p>Это очень интересно – думать о возможностях. Может быть, отдохнуть от беготни на тропическом пляже? Или наоборот – забраться в горы пешком? Может все-таки съездить к той достопримечательности, которую всегда хотел увидеть? Причины, по которым мы начинаем путешествие, у всех разные. Объединяет нас одно – мы едем за новым опытом и новыми впечатлениями.</p>


                @import url(|PT+Serif:400,400italic,700,700italic&subset=latin,cyrillic);
body {
  margin: 0;
.post {
  width: 660px;
  margin: 0 auto;
  text-align: center;
.post-header {
  margin-bottom: 35px;
h1 {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 26px;
  color: #111;
  letter-spacing: 2px;
  line-height: 1.4em;
  text-transform: uppercase;
  margin-bottom: 0;
.dots span{
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #DDDDDD;
  border-radius: 50%;
  box-shadow: 12px 0 0 0 #DDDDDD, 24px 0 0 0 #DDDDDD, -12px 0 0 0 #DDDDDD, -24px 0 0 0 #DDDDDD;
.info {
  margin-top: 14px;
span {
  font-size: 14px;
  font-style: italic;
  color: #999;
  font-family: 'PT Serif', serif;
figure {
  position: relative;
  margin: 0 0 30px;
figure:before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 0;
	height: 0;
	border-left: 14px solid transparent;
	border-right: 14px solid transparent;
	border-top: 20px solid white;
  left: calc(50% - 14px);
  left: -webkit-calc(50% - 14px);
  top: 0;
img {
  display: block;
  max-width: 100%;
  height: auto;
figcaption {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: white;
  letter-spacing: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 1.6;
  background: rgba(0,0,0,.6);
  padding: 15px;
p {
  font-family: 'PT Serif', serif;
  line-height: 1.8;
  color: #555555;
  font-size: 14px;