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 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.

Quick-add: + add another resource

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.

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 class="wrap">
  <div class="photo">
    <div class="box">
      <div class="content">
        <h1>CSS Triangle</h1>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce porttitor augue non erat vestibulum, sit amet accumsan magna ullamcorper. Nullam est magna, ornare non nisl ac, vulputate fringilla quam. </p>
      </div><!--End Content-->
      <div id="one"></div>
      <div id="two"></div>
      <div id="three"></div>
@import url(https://fonts.googleapis.com/css?family=Lato:100);

@mainBox: #18B29D;

html {height: 100%;}
body {
  background-image: linear-gradient(45deg, rgba(255, 246, 228, 0.5) 30%, rgba(128, 189, 182, 0.8) 100%), linear-gradient(-45deg, #494d71 0%, rgba(217, 230, 185, 0.5) 80%);

.wrap {
  width: 600px;
  margin: 0 auto;
  padding-top: 50px;

  font-family: 'Lato', sans-serif;
.photo {
  height: 200px;
  background: url('http://cdn.wonderfulengineering.com/wp-content/uploads/2014/07/HD-landscape-pictures.png');
  background-size: 850px;
  background-position: -250px -180px;

.box {
  position: relative;
  float: right;

.content {
  color: #fff;
  position: absolute;
  width: 240px;
  left: 30px;
  p {
    font-size: 13px;

#one {
  height: 25px;
  background: @mainBox;

#two {
  border-top:10px solid @mainBox;
  border-left: 10px solid transparent;
  border-bottom: 10px solid @mainBox;
  border-right: 10px solid @mainBox;

#three {
  height: 158px;
  background: @mainBox;
Loading ..................