Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

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

Packages

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.

Behavior

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

              
                <h1>Векторная лента</h1>
<div class="container">
  <div class="fore">
    <div class="top">Центр 
    </div><!--end top-->
    <div class="mid">управления
    </div><!--end mid-->
    <div class="bottom">полетами
    </div><!--end bottom-->
 </div><!--end fore-->

  <div class="back">
    <div class="top_ribbon">
      <div class="tip1">
      </div><!--end tip-->
    </div><!--end top_ribbon-->
    <div class="top">
    </div><!--end top-->
    <div class="bottom">
    </div><!--end bottom-->
    <div class="bottom_ribbon">
     <div class="tip2">
    </div><!--end tip2-->
    </div><!--end top_ribbon-->
  </div><!--end back-->
</div>
              
            
!

CSS

              
                @main:#00d78e;
@darkenmain:darken(@main,10); 
@mainback:darken(@main,15);
@darkenmainback:darken(@main,25);


body {
  background: #34495e;
  background: radial-gradient(ellipse at center, #ffffff 0%,#e5e5e5 100%);
  background-size:100% 100%;
}

h1 {
  color: #34495e;
  font-weight: normal;
  text-align: center;
  font-size: 50px;
  font-family: 'Roboto Condensed', cursive;
}

.container {
  width:250px;
  border:1px solid transparent;
  margin:100px auto;
}

/* ---------- TEXT ---------- */

.top .text {
  margin-left:45px;
}

.mid .text {
  margin-left:75px;
}

.bottom .text {
  margin-left:30px;
}

/* ---------- FORGROUND ---------- */

.fore {
  position:absolute;
  z-index:2;
}

.fore .top {
  margin:auto;
  height:50px;
  width:175px;
  text-align:center;
  font-size:30px;
  color:#fff;
  line-height:50px;
  transform: skewY(-10deg);
}

.fore .mid {
  margin-top:25px;
  height:50px;
  width:250px;
  text-align:center;
  font-size:30px;
  color:#fff;
  line-height:50px;
  transform: skewY(-10deg);
}

.fore .bottom {
  margin:25px auto;
  height:50px;
  width:175px;
  text-align:center;
  font-size:30px;
  color:#fff;
  line-height:50px;
  transform:skewY(-10deg);
}
.fore > div{
  -webkit-transform: translate3d(0, 0, 0);
  box-shadow+:0 2px 10px rgba(0,0,0,.3);
  font-family: 'Roboto Condensed', cursive;
  text-transform:uppercase;
  text-shadow:0 2px 2px fade(black,40);
  background: linear-gradient(to right, @darkenmain 0%,@main 10%,@main 90%,@darkenmain 100%);
  box-shadow+:0 0 15px fade(@mainback,100) inset;
  
}

/* ---------- BACKGROUND ---------- */

.back {
  position:relative;
}

.back .tip1 {
  margin-left:-38px;
  width:0; 
	height:0; 
	border-bottom:50px solid transparent;
	border-right:39px solid @darkenmainback;
}

.back .tip2 {
  width:0; 
	height:0; 
	border-top:50px solid transparent;
	border-left:39px solid @darkenmainback;
  margin-left:150px;
}

.back .top_ribbon {
  height:50px;
  margin-left:63px;
  margin-top:-35px;
  width:150px;
  transform:skewY(15deg);
}

.back .top {
  height:50px;
  margin-left:38px;
  margin-top:19px;
  width:212px;
  transform: skewY(10deg);
}

.back .bottom {
  height:50px;
  margin-top:32px;
  width:212px;
  transform: skewY(10deg);
}

.back .bottom_ribbon {
  height:50px;
  margin-left:38px;
  margin-top:20px;
  width:150px;
  transform: skewY(15deg);
}

.back > div{
  -webkit-transform: translate3d(0, 0, 0);
  background: linear-gradient(to right, @darkenmainback 0%,@mainback 30%,@mainback 70%,@darkenmainback 100%);
}
              
            
!

JS

              
                
              
            
!
999px

Console