cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <div id="wrapper">
    <div class="triangle1"></div>
    <div class="triangle2"></div>
    <div class="triangle3"></div>
    <div class="text"><h1>VUE JS 2.1 <br/>JAVASCRIPT FRAMEWORK....</h1></div>
</div>
            
          
!
            
              * {
  margin: 0px;
  padding: 0px;
}

body {
  background: #fff;
}

#wrapper {
  width: 600px;
  height: 420px;
  background: #dddcdb;
  box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.75);
  margin: auto;
  margin-top: 50px;
  position: relative;
}

.triangle1 {
  position: absolute;
  width: 0px;
  height: 0px;
  left: 9%;
  border-left: 250px solid transparent;
  border-right: 250px solid transparent;
  border-top: 421px solid #4bb890;
  border-bottom: 300px solid transparent;
}

.triangle2 {
  position: absolute;
  width: 0px;
  height: 0px;
  left: 17%;
  border-left: 200px solid transparent;
  border-right: 200px solid transparent;
  border-top: 321px solid #366667;
  border-bottom: 300px solid transparent;
}

.triangle3 {
  position: absolute;
  width: 0px;
  height: 0px;
  left: 25%;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-top: 221px solid #c3d1d2;
  border-bottom: 300px solid transparent;
}

.text {
  position: absolute;
  z-index: 999;
  text-align: center;
  font-family: cursive;
  bottom: 30px;
  left: 10%;
  color: #fff;
  font-weight: 900;
}
            
          
!
999px
Loading ..................

Console