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 class="logo texture">
  <div id="spanner-opening"></div>
  <div id="spanner-end"></div> 
  <div class="spanner">
  </div>
  <div class="title texture">
    <h1> Shop Talk</h1>
  </div>
  <p>Show</p> 
</div> 
<h3>CSS Only</h3>

<input id="logo-size" class="texture" type="range" min="30" value="60" max="170">

<div class="img-container">
  <img src="https://s.cdpn.io/31787/shoptalk.png" alt="" />
  <h3>Original Image</h3> 
  <input id="image-size" class="texture" type="range" min="100" value="200" max="550">
</div>
            
          
!
            
              @import "compass/css3";

$shop-talk:  #f26906;
$background: #000;

*, *:after, *:before {
  box-sizing: border-box;
}

html {
  background: $background;
  color: $background;
  font-size: 6px;
}

#logo-size {
  width: 200px;
  margin-left: -100px;
  margin-top: -20px;
  left: 50%;
  position: absolute;
  
}

input[type='range'] {
  appearance: none !important;
  background: #444;
  height:15px;
}

input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  background:$shop-talk;
  height: 30px;
  width: 15px;
  border: 2px solid $background;
}


.logo {
  background: $shop-talk;
  border: 0.4rem solid $background;
  border-radius: 50%;
  box-shadow: 0 0 0 0.8rem $shop-talk;
  height: 23rem; 
  margin: 5rem auto;
  transform: rotate(-8deg);  
  width: 23rem;
  
  p {
    color: $background;
    font-weight: bold;
    font-family: 'Doppio One', sans-serif; 
    font-size: 2rem;
    font-weight: 700;  
    letter-spacing: 0.2rem;
    margin:-0.6rem 0 0 9rem;
    text-transform: uppercase;
    transform:scale(1.3,1);
    transform: rotate(-7deg); 
  }
}


.title {
  background: $shop-talk;
  border-top: 0.8rem solid $shop-talk;
  border-bottom: 0.8rem solid $shop-talk;
  font-family: 'Yanone Kaffeesatz', sans-serif; 
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  margin-left: -5.8rem;
  margin-top: 4rem; 
  text-align: center;
  text-transform: uppercase;
  transform:skew(-8deg,-8deg);
  width: 33rem;
}

h1 {
  border-top: 0.4rem solid $background;
  border-bottom: 0.4rem solid $background; 
  margin: 0 -40px;
  padding:0;
  transform:scale(0.8,1);
}




.spanner {
  background: $shop-talk;
  border: 0.4rem solid $background;
  height: 1rem;
  margin-top: 2rem; 
  margin-left: 7rem;
  position: absolute;
  transform: rotate(-8deg);
  width: 6rem;
  
  &:before {
      background: $background;
      border-radius: 50%;
      content: ' ';
      height: 1.8rem;   
      margin-left: -0.9rem;
      margin-top: -0.8rem;
      position: absolute;
      width:1.8rem;
    }
    
    &:after {
      border-radius: 50%;
      background: $background;
      content: ' ';
      height: 1.8rem;
      margin-left: 5rem; 
      margin-top: -0.8rem;
      position: absolute;
      width:1.8rem;
    }
}

#spanner-opening {
  background: $shop-talk;
  height:0.8rem;
  left: 6.4rem;
  margin-top: 2.5rem;
  position: absolute;
  transform: rotate(-8deg);
  width:1.1rem;  
  z-index: 5; 
}

#spanner-end {
  background: $shop-talk;
  height: 0.8rem;
  margin-top: 1.60rem; 
  margin-left: 12.8rem;
  position: absolute;
  text-align: center;
  width: 0.8rem;
  z-index: 9;
  
  &:before, &:after {
      background: $shop-talk; 
      content: "";
      height: 0.8rem;
      left: 0;
      position: absolute;
      top: 0;
      width: 0.8rem;
      
    }
    &:before {
      transform: rotate(30deg);
    }
    &:after {
      transform: rotate(60deg);
    }
}


.texture {
  position: relative;
  z-index: 1;
  
  
  &:before {
      bottom:0;
      content: "";
      left:0;
      opacity: 0.8;
      position: absolute;
      right:0;
      top:0;
      z-index: -1;
      background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAxJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUU4M0I1RjJBMzYxMTFFMjk0NTRCQzUzNjI1MDQ3NEQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUU4M0I1RjFBMzYxMTFFMjk0NTRCQzUzNjI1MDQ3NEQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiBNYWNpbnRvc2giPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD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PtGtij/C3qde9tT1iK1taS5T473OS0qR+wlqcOGI5yJzlKAslLZEg7ctZIcFq9IefXzcXWd4/f+gZi+OaSBig1D7H/cp99/b3fzpKTB++b1Et4OnjXcRSG+4QPpTPy+YgnEtWosm/wWEuKmKbhTS1JFf4Ut85vx8joJQ+qbbP71u6WO72LSdYO1oolTFbEO4zXz/BFDX94fRZezHSQsid4PhjWt1r977LzoWHNXCEyLWxyjXQrXdlNkvg3L99cWXNYJLAt1XxZOo5mnGMdgIAt1gNYLosz7qqiQU4DC3pR6gwUs+hPKt1inprNytVZ2Wl0aTtngPmsJ2SRpauudy9MQ4jIsM1iadRk9IciZEkQpNKaHCtTWixqIkDCElbV9OUAc8d0coASZg2VeR4dlNSFieXbSpZKYoV03Tr4CJtNEDueoul5etZJrKz1bDIPla3GTbQMhjULtuwcFE4bUosQyqu+uH6N8dOwnMuZbLis+JqucTHtnAFcu4OJ+CmMp80aD/TqLSnhWrZwjbhWo1jtT69TmWBUkxQu0iXy0JxmerMnGENWUmLWyccrCub4YbVCwPXA8hq+dqAUlM7hv0J2z3X8kuD53O7pVRgKTEhEZSYRYcw2Lnz0fcll11SmYbToZRFcQxfioUoxWd1C5vlrJxV6UtpfuCS2QlQdp5yzG8ZoxzH8fs/bvVs2C/t5IKGNaC6m1RawpLozaGKkrHM14dtewGR/GttjilBNTVxQNVksBh9hUm17F3iO1sIiJSpKKewxL4TCk7Kaux20ISmYGsE1uT+xArkavxpbsBsKSBnzStd8DunYmsyJLn3LFfmVxUWq7W6T2tPjx/cOSglzhaEjzFRjYBwdwbGXj9I7IKkKJHalGxu1XdWS1KqORsVfi/NfwE05++66t47uwAAAABJRU5ErkJggg==);
    }
}
.img-container {
  text-align: center; 
  width:100%;
}
  
img {
  margin-top: 30px;
  width:200;
}
 

h3 {
  color: $shop-talk;
  font-size: 40px;
  text-align: center;
  margin-bottom: 30px; 
}
            
          
!
            
              // JS only used to demonstrate that simply changing the base font value will increase the size of the logo


//author Hugo Darby Brown - Twitter @darbybrown 

$('#logo-size').change(function () {                    
  var fontsize = $(this).val()/10 + "px";
  $('html').css("font-size", fontsize );
});

$('#image-size').change(function () {                    
  var Width = $(this).val() + "px";
  $('img').css("width", Width );
});
            
          
!
999px
Loading ..................

Console