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="css-art--3-triangles">
  <div class="css-art--3-triangles__inner">
    <div class="css-art--section css-art--section-1">
      <h3>Students</h3>
      <ul>
        <li>Create a fellowship or scholarship</li>
        <li>Support a student organization</li>
        <li>Sponsor a capstone project</li>
        <li>Donate to a lecture series or fund</li>
        <li>Learn about recruitment opportunities</li>
      </ul>
    </div>
    <div class="css-art--section css-art--section-2">
      <h3>Faculty</h3>
      <ul>
        <li>Sponsor a research opportunity</li>
        <li>Endow a faculty chair</li>
        <li>Join an affiliate center</li>
        <li>License a new technology</li>
      </ul>
    </div>
    <div class="css-art--section css-art--section-3">
      <h3>Infrastructure</h3>    
      <ul>
        <li>Name a professorship</li>
        <li>Provide a capital gift</li>
        <li>Name a lab or learning space</li>
        <li>Donate equipment or software </li>
        <li>Name a college or deanship</li>
</li>
      </ul>
    </div>
  </div>
<svg version="1.1" class="css-art__triangle-wrapper" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 160 140" style="enable-background:new 0 0 160 140;" xml:space="preserve">
  <polygon class="css-art__triangle" fill="none" points="80,134.3 5.8,5.7 154.2,5.7" vector-effect="non-scaling-stroke"/>
</svg>

</div>

<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i" rel="stylesheet">
            
          
!
            
              body {
  font-family: "Open Sans", sans-serif;
  padding: 4em;
  background: #f1f1f1;
}

* {
  box-sizing: border-box;
}

.css-art--3-triangles {
  position: relative;
  margin: 0 auto;
  min-width: 800px;
  max-width: 850px;
  z-index: 0;
  
  &:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 20%;
    left: 50%;
    display: block;
    width: 10%;
  background: url(http://www.cs.cmu.edu/~jyang2/img/scs-dragon.svg) no-repeat center center;
  background-size: 100% auto;
    transform: translate(-50%, 0);
  }
  
  &__inner {
    display: grid;
    align-items: stretch;
    grid-template: 
      1fr 0.3fr 1fr / 
      2fr 0.5fr 0.5fr 1fr 1fr 1fr 0.5fr 0.5fr 2fr;
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }
  
  .css-art__triangle-wrapper {
    position: absolute;
    top: 55%;
    left: 50%;
    width: 70%;
    transform: translate(-50%, -50%);
    z-index: -1;
  }

  .css-art__triangle {
    stroke: #900;
    stroke-width: 0.125rem;
  }
}

.css-art--section {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  padding: 3em 3em;
  @media (min-width: 1000px) {
  }
  
  &:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    display: block;
    width: 100%;
    height: 0;
    box-sizing: content-box;
    padding: 0 0 100%;
    border-radius: 50%;
    border: 0.125rem solid #ccc;
    transform: translate(-50%, -50%);
    background: #fff;
  }

  h3 {
    padding: 1rem 0;
    margin: 0;
  }
  

  ul {
    margin: 0;
    padding: 0 0 0 1.25em;
  }
  
  li {
    margin: 0 0 0.5em;
  }
 
  &-1 {
    grid-row: 1 / span 1;
    grid-column: 1 / span 4;
  }
  
  &-2 {
    grid-row: 1 / span 1;
    grid-column: 6 / span 4;
  }

  &-3 {
    grid-row: 3 / span 3;
    grid-column: 3 / span 5;
  }

}

            
          
!
999px
Loading ..................

Console