123

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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="logo">
  <div class="shield">
    <div class="triangle-black"></div>
    <div class="triangle-orange"></div>
    <div class="triangle-teal"></div>
    <div class="triangle-white"></div>
  </div>
  <div class="shark">
    <div class="back"></div>
    <div class="right-fin"></div>
    <div class="body-base"></div>
    <div class="left-fin"></div>
    <div class="top-fin"></div>
    <div class="black-fill-wrap">
      <div class="black-fill-back"></div>
      <div class="black-fill-back2"></div>
      <div class="black-fill-back3"></div>
      <div class="black-fill-back4"></div>
      <div class="black-fill-back5"></div>
      <div class="black-fill-back6"></div>
      <div class="black-fill-back7"></div>
      <div class="black-fill-back8"></div>
    </div>
    <div class="teeth-wrap">
      <div class="teeth-behind"></div>
      <div class="teeth jagged-border"></div>
      <div class="teeth jagged-border teeth-inverse">
      <div class="front-teeth-cover1"></div>
      <div class="front-teeth-cover2"></div>
      <div class="back-teeth-cover"></div>
    </div>
    <div class="eye"></div>
    <div class="gills">
      <div class="gill"></div>
      <div class="gill-2"></div>
      <div class="gill-3"></div>
    </div>
    <div class="accents">
      <div class="accent-teal-1"></div>
      <div class="accent-teal-2"></div>
      <div class="accent-teal-3"></div>
      <div class="accent-teal-3-cover"></div>
    </div>
  </div>
    <div class="stick">
      <div class="stick-left"></div>
      <div class="stick-bottom"></div>
      <div class="tape"></div>
      <div class="tape tape-2"></div>
      <div class="tape tape-3"></div>
      <div class="tape tape-4"></div>
      <div class="tape tape-5"></div>
      <div class="stick-right-nub"></div>
      <div class="stick-right"></div>
      <div class="stick-bite"></div>
      <div class="stick-bite bite-2"></div>
      <div class="stick-bite bite-3"></div>
    </div>
  </div>
</div>
            
          
!
            
              // Color Variables
$pacific-teal: #088696;
$black: #000;
$white: #FFF;
$orange: #f28f20;


body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo {
  position:relative;
  height: 325px;
  width: 500px;
  margin-left: -300px;
  margin-top: 150px;
  width: auto;
}

.triangle-black {
	width: 0;
	height: 0;
	border-left: 200px solid transparent;
	border-right: 200px solid transparent;
	border-top: 300px solid $black;
  position: absolute;
}
.triangle-orange {
  width: 0;
  height: 0;
  border-left: 183px solid transparent;
  border-right: 183px solid transparent;
  border-top: 275px solid $orange;
  position: absolute;
  top: 8px;
  left: 17px;
}
.triangle-teal {
  width: 0;
  height: 0;
  border-left: 178px solid transparent;
  border-right: 178px solid transparent;
  border-top: 266px solid $pacific-teal;
  position: absolute;
  top: 11px;
  left: 22px;
}
.triangle-white {
  width: 0;
  height: 0;
  border-left: 160px solid transparent;
  border-right: 160px solid transparent;
  border-top: 240px solid $white;
  position: absolute;
  top: 20px;
  left: 40px;
}
.back {
  width: 0;
	height: 0;
	border-top: 90px solid transparent;
	border-right: 175px solid $black;
	border-bottom: 90px solid transparent;
  -webkit-transform: translate(100px) rotate(20deg);
  -webkit-transform-origin: 0 -250px;

  transform: translate(100px) rotate(28deg);
  transform-origin: 0 -250px;
  position: absolute;
  top:-49px;
  left:60px;
}
.body-base {
  position:absolute;
  display:block;
   width: 140px;
   height: 300px;
   background-color: $pacific-teal;
  transform: rotate(125deg);
   -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px;
   border-radius:         50%  50%  50%  50%  / 60%   60%   40%  40%;
  border: 5px solid black;
  top:-35px;
  left:175px;
}
.right-fin {
  position: absolute;
  width: 0;
  border-top: 100px dotted rgba(0,0,0,0);
  border-bottom: 50px dotted rgba(0,0,0,0);
  border-right: 70px solid $white;
  border-radius: 73px;
  transform: rotate(28deg);
  top:11px;
  left:305px;
}
.right-fin:after {
  content: '';
  position: absolute;
  width: 0;
  border-top: 100px dotted rgba(0,0,0,0);
  border-bottom: 50px dotted rgba(0,0,0,0);
  border-right: 70px solid $black;
  border-radius: 73px;
  top:-100px;
  left:5px;
}
.left-fin {
  position: absolute;
  width: 0;
  border-top: 300px dotted rgba(0,0,0,0);
  border-bottom: 50px dotted rgba(0,0,0,0);
  border-left: 90px solid $black;
  border-radius: 73px;
  transform: rotate(-72deg);
  top:-75px;
  left:35px;
}
.top-fin {
  position: absolute;
  width: 0;
  border-top: 200px dotted rgba(0,0,0,0);
  border-bottom: 50px dotted rgba(0,0,0,0);
  border-right: 90px solid $black;
  border-radius: 73px;
  transform: rotate(-35deg);
  top:-150px;
  left:100px;
}
// BLACK FILL
.black-fill-back {
  position: absolute;
  width: 0;
  border-top: 100px dotted rgba(0,0,0,0);
  border-bottom: 60px dotted rgba(0,0,0,0);
  border-right: 40px solid $black;
  border-radius: 73px;
  transform: rotate(-80deg);
  top:-28px;
  left:120px;
}
.black-fill-back2 {
  position: absolute;
  width: 130px;
	height: 60px;
  transform: rotate(30deg) skew(-25deg);
	background: $black;
  top:123px;
  left:165px;
}
.black-fill-back3 {
  position: absolute;
  width: 80px;
	height: 20px;
  transform: rotate(28deg) skew(-15deg);
	background: $black;
  top:179.5px;
  left:296px;
}
.black-fill-back4 {
  position: absolute;
  width: 70px;
	height: 20px;
  transform: rotate(15deg) skew(-15deg);
	background: $black;
  top:196px;
  left:264px;
}
.black-fill-back5 {
  position: absolute;
  width: 103px;
	height: 57px;
  transform: rotate(45deg) skew(-25deg);
	background: $black;
  top:61px;
  left:106px;
}
.black-fill-back6 {
  position: absolute;
  width: 0;
  border-top: 15px dotted rgba(0,0,0,0);
  border-bottom: 25px dotted rgba(0,0,0,0);
  border-left: 20px solid $black;
  border-radius: 73px;
  transform: rotate(83deg);
  top:117px;
  left:250px;
}
.black-fill-back7 {
  position: absolute;
  width: 0;
  border-top: 30px dotted rgba(0,0,0,0);
  border-bottom: 25px dotted rgba(0,0,0,0);
  border-right: 25px solid $black;
  border-radius: 73px;
  transform: rotate(-40deg);
  top:122px;
  left:265px;
}
.black-fill-back8 {
  position: absolute;
  width: 50px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 8px 8px 0 0 $black;
  transform: rotate(25deg);
  top:127px;
  left:260px;
}

// TEETH

.teeth-behind {
  position: absolute;
  width: 100px;
	height: 30px;
	background: $black;
  transform: rotate(30deg) skew(-40deg);
  top:179px;
  left:260px;
}
.jagged-border {
  position: relative;
  width: 80px;
  height: 50px;
  -webkit-filter: drop-shadow(rgba(0, 0, 0, 0.3) 0px 1px 2px);
          filter: drop-shadow(rgba(0, 0, 0, 0.3) 0px 1px 2px);
}
.jagged-border:before {
  content: "";
  display: block;
  position: absolute;
  top: -11px;
  width: 100%;
  height: 19px;
}

.teeth {
  background: transparent;
  position: absolute;
  left: 269px;
  top: 198px;
}
.teeth:before {
  background: -webkit-linear-gradient(45deg, transparent 33.333%, #fff 33.333%, #fff 66.667%, transparent 66.667%), -webkit-linear-gradient(135deg, transparent 33.333%, #fff 33.333%, #fff 66.667%, transparent 66.667%);
  background: linear-gradient(45deg, transparent 33.333%, #fff 33.333%, #fff 66.667%, transparent 66.667%), linear-gradient(-45deg, transparent 33.333%, #fff 33.333%, #fff 66.667%, transparent 66.667%);
  background-size: 16px 40px;
  transform: rotate(32deg);
}
.teeth-inverse {
    transform: rotate(180deg);
    top: 142px;
    left: 281px;
    width: 80px;
}
.front-teeth-cover1 {
  position: absolute;
  width: 0;
	height: 0;
	border-bottom: 20px solid black;
	border-left: 20px solid transparent;
  transform: rotate(207deg);
  top: -31px;
  left: 17px;
}
.front-teeth-cover2 {
  position: absolute;
  width: 0;
	height: 0;
	border-bottom: 20px solid $black;
	border-left: 20px solid transparent;
  transform: rotate(207deg);
  top: -26px;
  left: 1px;
}
.back-teeth-cover {
  position: absolute;
  width: 0;
	height: 0;
	border-bottom: 30px solid $black;
	border-left: 30px solid transparent;
  transform: rotate(27deg);
  top:-1px;
  left: 59px;
}

// EYE
.eye {
  position: absolute;
  width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 10px solid transparent;
	border-top: 11px solid $orange;
  top:145px;
  left:257px;
  transform: rotate(48deg);
}
.gill {
  position: absolute;
  width: 0;
  border-top: 30px dotted rgba(0,0,0,0);
  border-bottom: 7px dotted rgba(0,0,0,0);
  border-right: 6px solid $pacific-teal;
  border-radius: 73px;
  transform: rotate(-180deg);
  top:120px;
  left:210px;
}
.gill-2 {
  position: absolute;
  width: 0;
  border-top: 30px dotted rgba(0,0,0,0);
  border-bottom: 7px dotted rgba(0,0,0,0);
  border-right: 6px solid $pacific-teal;
  border-radius: 73px;
  transform: rotate(-180deg);
  top:130px;
  left:220px;
}
.gill-3 {
  position: absolute;
  width: 0;
  border-top: 30px dotted rgba(0,0,0,0);
  border-bottom: 7px dotted rgba(0,0,0,0);
  border-right: 6px solid $pacific-teal;
  border-radius: 73px;
  transform: rotate(-180deg);
  top:140px;
  left:230px;
}
.accent-teal-1 {
  position: absolute;
  width: 40px;
	height: 15px;
	transform: skew(40deg);
	background: transparent;
  top:94px;
  left:75px;
  box-shadow: 3px -3px 1px $pacific-teal;
}
.accent-teal-2 {
  position: absolute;
  width: 80px;
	height: 10px;
	transform: skew(20deg) rotate(25deg);
	background: transparent;
  box-shadow: -3px -2px 0px $pacific-teal;
  top: 60px;
  left: 75px;
}
.accent-teal-3 {
  position: absolute;
  width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-right: 50px solid $pacific-teal;
	border-bottom: 5px solid transparent;
  left:95px;
  top: 15px;
}
.accent-teal-3-cover {
  position: absolute;
  width: 60px;
	height: 20px;
	background: $black;
	-moz-border-radius: 100px / 50px;
	-webkit-border-radius: 100px / 50px;
	border-radius: 100px / 50px;
  left:91px;
  top:25px;
}


// STICK

.stick-left {
  position: absolute;
  width: 190px;
	height: 15px;
	-webkit-transform: skew(20deg) rotate(-5deg);
	   -moz-transform: skew(20deg) rotate(-5deg);
	     -o-transform: skew(20deg) rotate(-5deg);
	background: $orange;
  top: 193px;
  left: 120px;
  border: 3px solid $black;
  border-bottom: 5px solid $black;
}
.stick-bottom {
  position: absolute;
  width: 120px;
	height: 20px;
	-webkit-transform: skew(30deg) rotate(-50deg);
	   -moz-transform: skew(30deg) rotate(-5deg);
	     -o-transform: skew(30deg) rotate(-5deg);
	background: $orange;
  top: 245px;
  left: 60px;
  border-top: 3px solid $black;
  border-bottom: 4px solid $black;
  border-left: 6px solid $black;
}
.tape {
  position: absolute;
  width: 30px;
	height: 15px;
	-webkit-transform: skew(-20deg);
	   -moz-transform: skew(-20deg);
	     -o-transform: skew(-20deg);
	background: $white;
  top: 220px;
  left: 112px;
  border: 2px solid $black;
}
.tape-2 {
  height: 12px;
  top:235px;
  left: 108px;
}
.tape-3 {
  height: 4px;
  width: 31px;
  top:249px;
  left:105px;
}
.tape-4 {
  width: 29px;
  top: 255px;
  left: 103px;
}
.tape-5 {
  top: 270px;
  left: 99px;
}
.stick-right {
  position: absolute;
  width: 160px;
	height: 11px;
	-webkit-transform: skew(20deg) rotate(-45deg);
	   -moz-transform: skew(20deg) rotate(-5deg);
	     -o-transform: skew(20deg) rotate(-5deg);
	background: $orange;
  top: 100px;
  left: 346px;
  border: 3px solid $black;
  border-bottom: 6px solid $black;
}

.stick-right-nub {
  position: absolute;
  width: 25px;
	height: 10px;
	-webkit-transform: skew(-20deg) rotate(17deg);
	   -moz-transform: skew(-20deg);
	     -o-transform: skew(-20deg);
	background: $orange;
  left: 453px;
  top: 34px;
  border-bottom: 14px solid $black;
  border-left: 3px solid $black;
  border-top: 3px solid $black;
  border-right: 8px solid $black;
  border-radius: 2px 3px 5px 3px;
}

.stick-bite {
  position: absolute;
  width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 15px solid $black;
  top: 220px;
  left: 305px;
  transform: rotate(30deg);
}
.stick-bite:after {
  content: '';
  position: absolute;
  width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 15px solid $orange;
  bottom: -14px;
  right: -2px;
}
.bite-2 {
  left:325px;
  transform: rotate(-20deg);
}
.bite-2:after {
  right: -7px;
}
.bite-3 {
  left: 400px;
  top: 180px;
  transform: rotate(-70deg);
}
.bite-3:after {
  top: -2px;
  left: -3px;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console