css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
              .tentD.container
  .jellyfish
    .middle
      .ten
        .a
        .e
        .b
        .d
        .c
      .nine
        .a
        .e
        .b
        .d
        .c
      .eight
        .a
        .e
        .b
        .d
        .c
      .seven
        .a
        .e
        .b
        .d
        .c
      .six
        .a
        .e
        .b
        .d
        .c
      .five
        .a
        .e
        .b
        .d
        .c
      .four
        .a
        .e
        .b
        .d
        .c
      .three
        .a
        .e
        .b
        .d
        .c
      .two
        .a
        .e
        .b
        .d
        .c
      .one
        .a
        .e
        .b
        .d
        .c
    .tentacles
      .tentA
      .tentB
        .tb1
      .tentC
      .tentD
      .tentE
    .body
      .stripes01
      .stripes02
            
          
!
            
              $bodyHighlight: #af7ac5
$bodyBackground: #1f618d
$bodyGlow: #ff4bff
$tentacle: #00d4ff
$mid: #af7ac5
$midInner: #ff4bff
$midOuter: #00d4ff


$tentOpac: 0.4
body
  background-color: #154360 

.container
  width: 1000px
  height: 1000px
  background-color: #154360 
.jellyfish
  transform: rotate(-15deg)
  top: 50px
  position: absolute
  display: block
  
.body, .stripes01, .stripes02
  position: absolute
  display: block
  height: 200px
  background-color: $bodyBackground
  border-radius: 50% 50% 20% 20% / 70% 70% 40% 40%
  box-shadow: inset 0px 0px 30px $bodyHighlight, 0px 0px 6px 0px $bodyHighlight
.body
  top: 100px
  left: 100px
  width: 300px
  border-bottom: 4px solid $bodyHighlight
  .stripes01, .stripes02
    border-radius: 50% 50% 20% 20% / 70% 70% 40% 40%
    border-left: 4px solid $bodyHighlight
    border-right: 4px solid $bodyHighlight
  .stripes01
    width: 250px
    left: 25px
  .stripes02
    width: 150px
    left: 75px
.tentacles
  top: 250px
  position: absolute
  display: block
  left: 130px
  .tentA, .tentB, .tb1, .tentC, .tentD, .tentE
    border-radius: 100%
    position: absolute
    display: block
    border: 10px solid transparent
  .tentA
    border-radius: 80% 100% 100% 100%
    height: 250px
    width: 220px
    border-left-color: $tentacle
    border-bottom-width: 0px
    transform: rotate(25deg)
    opacity: $tentOpac
  .tentB
    height: 300px
    width: 200px
    border-right-color: $tentacle
    top: -50px
    left: -150px
    transform: rotate(-10deg)
    opacity: $tentOpac
    .tb1
      height: 200px
      width: 160px
      border-left-color: $tentacle
      border-bottom-width: 0px
      left: 140px
      top: 231px
      transform: rotate(1deg)
  .tentC
    height: 400px
    width: 150px
    border-right-color: $tentacle
    top: -100px
    left: -20px
    opacity: $tentOpac
    border-bottom-width: 0px
  .tentD
    border-radius: 80% 100% 100% 100%
    height: 350px
    width: 220px
    border-left-color: $tentacle
    border-bottom-width: 0px
    transform: rotate(25deg)
    opacity: $tentOpac
    left: 120px
    top: -50px
  .tentE
    border-radius: 80% 100% 100% 100%
    height: 280px
    width: 250px
    left: -30px
    border-right-color: $tentacle
    border-bottom-width: 0px
    transform: rotate(-35deg)
    opacity: $tentOpac
   
.middle, .one, .two, .three, .four, .five, .six, .seven, .eight, .nine, .ten
    position: absolute
    display: block
.middle
  left: 200px
  top: 290px
  opacity: 0.7
  .a, .b, .c, .d, .e
    position: absolute
    display: block
    border-radius: 100%
    //background: $mid
    height: 100%
    width: 30%
    box-shadow: inset 0px 0px 0px $midInner, 0px 0px 20px 0px $midOuter
  .a
    left: -20%
  .b
    top: 10%
    left: 5%
  .c
    top: 15%
    left: 30%
  .d
    top: 10%
    left: 55%
  .e
    left: 80%
  .one
    height: 30px
    width: 100px
    .a, .b, .c, .d, .e
      background: $mid
  .two
    top: 20px
    left: (100px-85)/2
    height: 25.5px
    width: 85px
    .a, .b, .c, .d, .e
      background: lighten($mid, 3%)
  .three
    top: 36.83px
    left: (100px-72.25)/2
    height: 21.67px
    width: 72.25px
    .a, .b, .c, .d, .e
      background: lighten($mid, 6%)
  .four
    top: 50.3px
    left: (100px-61.4)/2
    height: 18.42px
    width: 61.41px
    .a, .b, .c, .d, .e
      background: lighten($mid, 9%)
  .five
    top: 62.16px
    left: (100px-52.2)/2
    height: 15.66px
    width: 52.2px
    .a, .b, .c, .d, .e
      background: lighten($mid, 12%)
  .six
    top: 72.49px
    left: (100px-44.37)/2
    height: 13.31px
    width: 44.37px
    .a, .b, .c, .d, .e
      background: lighten($mid, 15%)
  .seven
    top: 81.27px
    left: (100px-37.7)/2
    height: 11.31px
    width: 37.7px
    .a, .b, .c, .d, .e
      background: lighten($mid, 18%)
  .eight
    top: 88.73px
    left: (100px-32.06)/2
    height: 9.62px
    width: 32.06px
    .a, .b, .c, .d, .e
      background: lighten($mid, 21%)
  .nine
    top: 95.08px
    left: (100px-27.25)/2
    height: 8.17px
    width: 27.25px
    .a, .b, .c, .d, .e
      background: lighten($mid, 24%)
  .ten
    top: 99.67px
    left: (100px-23.16)/2
    height: 6.95px
    width: 23.16px
    .a, .b, .c, .d, .e
      background: lighten($mid, 27%)
      
.tentA, .tentB, .tentC, .tentD, .tentE
  animation: tents 3s infinite
    
@keyframes tents
  0%
    transform: scale(1.03, 0.95)

  30%
    transform: scale(1, 1.1)

  35%
    transform: scale(1, 1.1)
  100%
    transform: scale(1.03, 0.95)

.body
  animation: body 3s infinite
  
@keyframes body
  0%
    transform: scale(1.005, 0.95)
    top: 120px

  30%
    transform: scale(1, 1)
    top: 100px
  35%
    transform: scale(1, 1)
    top: 100px  
  100%
    transform: scale(1.005, 0.95)
    top: 120px
            
          
!
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.
Loading ..................

Console