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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <div class="frame">
  <div class="container">
    <div class="orange block-1"></div>  
    <div class="red block-2"></div>
    <div class="dark-orange block-3"></div>
    <div class="red block-4"></div>
    <div class="orange block-5"></div>
    <div class="dark-orange block-6"></div>
    <div class="orange block-7"></div>
    <div class="dark-orange block-8"></div>
    <div class="red block-9"></div>
    <div class="dark-orange block-10"></div>
    <div class="red block-11"></div>
    <div class="dark-orange block-12"></div>
    <div class="dark-orange block-13"></div>
    <div class="orange block-14"></div>
    <div class="red block-15"></div>
    <div class="red block-16"></div>
    <div class="orange block-17"></div>
    <div class="orange block-18"></div>
    <div class="red block-19"></div>
    <div class="red block-20"></div>
    <span class="txt h1">
      Katowice<br/>Street;Art<br/>Festival
    </span>
    <span class="txt date">
      19--281IV;<br/>;2013;r.
    </span>
    <span class="txt words">
      <span class="pvs">murale</span><br/>
<span class="pvs">instalacje</span><br/>
<span class="pvs">wystawy</span><br/>
<span class="pvs">muzyka</span><br/>
<span class="pvs">warsztaty</span><br/>
<span class="pvs">filmy</span><br/>
<span class="pvs">debata</span><br/>
    </span>
    <span class="txt social">
      <span class="pvs">katowicesstreetartfestival.pl</span><br/>
<span class="pvs">facebook.com/KatowiceStreetArtFestival</span><br/>
<span class="pvs">miarta-agrodwo.eu</span>
    </span>
    <span class="txt top">
      <span class=“pvs”>Instytucja.Kultury</span><br/>
      <span class="pvs">Kotowice</span><br/>
      <span class="pvs">;Miasto;Ogrodow;</span><br/>
      <span class="pvs">zaprasza</span>

    </span>
    <div class="logo">
      <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 300 299.999" enable-background="new 0 0 300 299.999" xml:space="preserve">
              <path class="logo-path" d="M299.131,166.085C299.695,160.797,300,155.438,300,150C300,67.161,232.84,0,150,0C67.157,0,0,67.161,0,150
              c0,5.438,0.305,10.8,0.867,16.088l17.106-0.002v-14.36h38.724v14.392h14.36v-63.52h38.721V210.56h14.577V62.25h38.619v160.469
              h14.424V86.825h38.618v99.683h14.458V139.67h38.652v26.397L299.131,166.085z M2.67,178.124
              C15.837,247.518,76.772,299.999,150,299.999c73.237,0,134.18-52.495,147.334-121.909l-40.308,0.015V151.71l-14.458-0.003v46.836
              h-38.652V98.863h-14.422v135.892h-38.62V74.289h-14.421v148.313H97.682V114.63H83.152v63.525H44.6v-14.393h-14.53v14.36H2.67z"></path>
            </svg>
    </div>
  </div>
</div>
              
            
!

CSS

              
                :root {
  --orange: #FE8E00;
  --red: #FC2202;
  --dark-orange: #FE6A00;
}

@font-face {
  font-family: customfont;
  src: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/534056/posters.otf);
}

@font-face {
  font-family: Katowice;
  src: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/534056/katowice.otf)
}

body {
  background: gainsboro;
}
.frame {
  display: grid;
  justify-content: center;
}

.container {
  width: 745px;
  height: 1070px;
  -webkit-box-shadow: 8px 10px 28px -5px rgba(0, 0, 0, 0.36);
  -moz-box-shadow: 8px 10px 28px -5px rgba(0, 0, 0, 0.36);
  box-shadow: 8px 10px 28px -5px rgba(0, 0, 0, 0.36);
  display: grid;
  background: #C9C9D1;
  grid-template-columns: 38px 69px 48px 124px 64px 45px 114px 16px 109px 65px 53px;
  grid-template-rows: 57px 35px 21px 132px 116px 114px 231px 157px 207px;
}

.orange {
  background: var(--orange);
}

.red {
  background: var(--red);
}

.dark-orange {
  background: var(--dark-orange);
}


.block-1 {
  grid-column: 5 / span 5;
  grid-row: 1 / span 2;
}

.block-2 {
  grid-column: 7 / span 5;
  grid-row: 4;
}

.block-3 {
  grid-column: 6 / span 4;
  grid-row: 3;
}

.block-4 {
  grid-column: 10 / span 2;
  grid-row: 3 ;
}

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

.block-6 {
  grid-column: 6;
  grid-row: 4 / span 5;
}

.block-7 {
  grid-column: 5;
  grid-row: 7;
}

.block-8 {
  grid-column: 5;
  grid-row: 8;
}

.block-9 {
  grid-column: 4;
  grid-row: 8;
}

.block-10 {
  grid-column: 2 / span 2;
  grid-row: 6 / span 3;
}

.block-11 {
  grid-column: 1;
  grid-row: 7 / span 2;;
}

.block-12 {
  grid-column: 1;
  grid-row: 6;
}

.block-13 {
  grid-column: 9;
  grid-row: 4;
}

.block-14 {
  grid-column: 9;
  grid-row: 5 / span 5;
}

.block-15 {
  grid-column: 11;
  grid-row: 5 / span 5;
}

.block-16 {
  grid-column: 7;
  grid-row: 5 / span 4;
}

.block-17 {
  grid-column: 2 / span 2;
  grid-row: 9;
}

.block-18 {
  grid-column: 5 / span 2;
  grid-row: 9;
}

.block-19 {
  grid-column: 1 / span 3;
  grid-row: 5;
  height: 16px;
  align-self: end;
}

.block-20 {
  grid-column: 4;
  grid-row: 6 / span 3;
  width: 16px;
  position: relative;
  bottom: 16px;
}

.txt {
  font-family: Katowice;
  color: black;
  transform: rotate(-1deg);
}

.h1 {
  font-size: 150px;
  grid-row: 4;
  grid-column: 2 / span 7;
  position: relative;
  top: 40px;
  line-height: .8;
}

.date {
  font-size: 32px;
  grid-row: 6;
  grid-column: 3 / span 3;
  align-self: end;
  position: relative;
  top: 140px;
  left: -16px;
}

.words {
  grid-column: 3;
  grid-row: 8;
  font-size: 24px;
  align-self: end;
  position: relative;
  top: 20px;
}

.pvs {
  display: inline-block;
  padding: 2px 0px;
}

.social {
  font-size: 18px;
  grid-column: 3 / span 3;
  grid-row: 9;
  align-self: center;
}

.logo {
  grid-column: 9 / span 2;
  grid-row: 2 / span  3;
  transform: scale(0.75);
  position: relative;
  top: -30px;
  right: -20px;
}

.top {
  grid-column: 3 / span 3;
  grid-row: 2;
  font-size: 14px;
}

.test-txt {
  
  font-size: 60px;
/*   letter-spacing: -16px; */
}
              
            
!

JS

              
                
              
            
!
999px

Console