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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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

              
                <body>
  
  <h1>CSS Gooey Menu on Hover Using SVG Filters and JQuery</h1>
  <nav class="home_icon_menu">
    <input type="checkbox" href="#" class="home_icon_menu-open" name="home_icon_menu-open" id="home_icon_menu-open" />
    <div class="home_icon_menu-open-button" for="home_icon_menu-open">
      <div class="home_what_we_do_svg">
        <svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" width="141" height="141" viewBox="0 0 141 141">
          <g transform="scale(NaN)">
            <path fill-rule="evenodd" fill="rgb( 255, 255, 255 )" d="M70.500,0.500 C109.160,0.500 140.500,31.840 140.500,70.500 C140.500,109.160 109.160,140.500 70.500,140.500 C31.840,140.500 0.500,109.160 0.500,70.500 C0.500,31.840 31.840,0.500 70.500,0.500 Z" />
            <path fill-rule="evenodd" fill="rgb( 235, 54, 99 )" d="M98.384,107.873 C98.384,107.873 46.162,107.873 46.162,107.873 C46.162,107.873 46.162,91.673 46.162,91.673 C46.162,91.673 53.397,91.673 53.397,91.673 C62.688,85.294 64.034,75.796 63.877,70.135 C63.517,70.248 63.159,70.357 62.805,70.464 C61.652,70.814 60.564,71.144 59.513,71.617 C57.521,72.473 55.500,72.899 53.472,72.899 C49.297,72.899 45.722,71.080 43.907,68.034 C41.145,63.287 43.027,56.847 48.274,53.037 C50.964,51.153 53.538,49.290 56.113,47.428 C57.773,46.226 59.443,45.025 61.126,43.824 C61.126,43.824 58.087,35.798 58.087,35.798 C58.087,35.798 65.402,38.142 65.402,38.142 C65.402,38.142 65.402,33.142 65.402,33.142 C65.402,33.142 68.335,34.490 68.335,34.490 C81.896,40.715 90.673,53.031 93.715,70.104 C95.388,79.487 94.915,87.781 94.523,91.673 C94.523,91.673 98.384,91.673 98.384,91.673 C98.384,91.673 98.384,107.873 98.384,107.873 ZM82.773,67.690 C82.773,67.690 89.313,69.423 89.313,69.423 C88.991,67.827 88.608,66.210 88.138,64.586 C88.138,64.586 78.951,62.149 78.951,62.149 C78.951,62.149 80.025,58.240 80.025,58.240 C80.025,58.240 86.586,59.979 86.586,59.979 C83.512,52.124 78.285,44.607 69.524,39.657 C69.524,39.657 69.524,42.014 69.524,42.014 C69.524,43.407 68.376,44.000 67.452,44.477 C67.087,44.666 66.673,44.880 66.399,45.079 C63.708,46.963 61.133,48.826 58.558,50.689 C55.966,52.564 53.374,54.439 50.695,56.314 C47.158,58.883 45.762,63.059 47.477,66.007 C48.517,67.753 50.817,68.849 53.472,68.849 C54.908,68.849 56.414,68.528 57.828,67.920 C59.091,67.352 60.361,66.967 61.589,66.595 C62.740,66.246 63.829,65.915 64.878,65.443 C64.878,65.443 67.459,64.282 67.459,64.282 C67.459,64.282 67.785,67.051 67.785,67.051 C68.358,71.919 68.508,83.096 59.824,91.673 C59.824,91.673 90.371,91.673 90.371,91.673 C90.545,89.962 90.749,87.044 90.717,83.440 C90.717,83.440 81.700,81.049 81.700,81.049 C81.700,81.049 82.773,77.139 82.773,77.139 C82.773,77.139 90.570,79.206 90.570,79.206 C90.464,77.490 90.301,75.686 90.049,73.813 C90.049,73.813 81.700,71.599 81.700,71.599 C81.700,71.599 82.773,67.690 82.773,67.690 ZM94.261,95.723 C94.261,95.723 93.962,95.723 93.962,95.723 C93.962,95.723 50.285,95.723 50.285,95.723 C50.285,95.723 50.285,103.823 50.285,103.823 C50.285,103.823 94.261,103.823 94.261,103.823 C94.261,103.823 94.261,95.723 94.261,95.723 ZM71.933,53.874 C70.860,53.874 69.990,53.019 69.990,51.965 C69.990,50.911 70.860,50.056 71.933,50.056 C73.006,50.056 73.876,50.911 73.876,51.965 C73.876,53.019 73.006,53.874 71.933,53.874 Z"
            />
          </g>
        </svg>
      </div>
    </div>

    <!-- NAV MENU ITEMS -->
    <a href="#" rel="iLightbox" class="home_icon_menu-item" title="Play Video"> <i class="fa fa-play"></i> </a>
    <a href="#" class="home_icon_menu-item" title="View Services"> <i class="fa fa-link"></i> </a>
    <!-- END NAV MENU ITEMS -->

  </nav>


  <!-- filters -->
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
    <defs>
      <filter id="shadowed-goo">

        <feGaussianBlur in="SourceGraphic" result="blur" stdDeviation="10" />
        <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 18 -7" result="goo" />
        <feGaussianBlur in="goo" stdDeviation="3" result="shadow" />
        <feColorMatrix in="shadow" mode="matrix" values="0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 -0.2" result="shadow" />
        <feOffset in="shadow" dx="1" dy="1" result="shadow" />
        <feComposite in2="shadow" in="goo" result="goo" />
        <feComposite in2="goo" in="SourceGraphic" result="mix" />
      </filter>
      <filter id="goo">
        <feGaussianBlur in="SourceGraphic" result="blur" stdDeviation="10" />
        <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 18 -7" result="goo" />
        <feComposite in2="goo" in="SourceGraphic" result="mix" />
      </filter>
    </defs>
  </svg>

  <footer>
    <p class="footer">Pen by Yon Cain. Front End Developer at <a href="https://artlivemedia.com/" target="_blank">Artlivemedia</a></p>
  </footer>

</body>
              
            
!

CSS

              
                body {
  background: #1abc9c;
  padding: 20px;
}
h1 {
  text-align:center;
  font-family:arial;
  font-weight:normal;
  color:#fff;
  margin-bottom:40px;
}
p.footer {
  text-align:center;
  font-family:arial;
  font-weight:normal;
  color:#0b0b0b;
}

.home_icon_menu {
  -webkit-filter: url("#goo");
  filter: url("#goo");
  z-index: 2000;
  position: relative;
  width: 141px;
  height: 141px;
  box-sizing: border-box;
  font-size: 20px;
  text-align: left;
  margin: 0 auto;
}

.home_icon_menu-item {
  background: #ffffff;
  border-radius: 100%;
  width: 80px;
  height: 80px;
  margin-left: 30px;
  position: absolute;
  top: 50px;
  color: rgb( 235, 54, 99);
  text-align: center;
  line-height: 80px;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform ease-out 200ms;
  transition: transform ease-out 200ms;
  z-index: 100;
}

.home_icon_menu-open-button {
  border-radius: 100%;
  width: 141px;
  height: 141px;
  position: absolute;
  margin: 0 auto;
  top: 20px;
  color: white;
  text-align: center;
  line-height: 80px;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform ease-out 200ms;
  transition: transform ease-out 200ms;
  clear: both;
  z-index: 1000!important;
}

.home_icon_menu-open {
  display: none;
}

.home_icon_menu-item:hover {
  background: #cccccc;
  color: #e91e63;
}

.home_icon_menu-item:nth-child(3) {
  -webkit-transition-duration: 180ms;
  transition-duration: 180ms;
}

.home_icon_menu-item:nth-child(4) {
  -webkit-transition-duration: 180ms;
  transition-duration: 180ms;
}

.home_icon_menu-open-button {
  z-index: 2;
  cursor: pointer;
}

.home_icon_menu-open-button:hover {
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  /*-webkit-transform: scale(0.8, 0.8) translate3d(0, 0, 0);
          transform: scale(0.8, 0.8) translate3d(0, 0, 0);*/
}
/*.home_icon_menu-open-button:hover ~ .home_icon_menu-item {
  -webkit-transition-timing-function: cubic-bezier(0.935, 0, 0.34, 1.33);
          transition-timing-function: cubic-bezier(0.935, 0, 0.34, 1.33);
          left:20px;
}
.home_icon_menu-open-button:hover ~ .home_icon_menu-item:nth-child(3) {
  -webkit-transition-duration: 280ms;
          transition-duration: 280ms;
  -webkit-transform: translate3d(90.9466px, -52.47586px, 0);
          transform: translate3d(90.9466px, -52.47586px, 0);
}
.home_icon_menu-open-button:hover ~ .home_icon_menu-item:nth-child(4) {
  -webkit-transition-duration: 380ms;
          transition-duration: 380ms;
  -webkit-transform: translate3d(90.9466px, 52.47586px, 0);
          transform: translate3d(90.9466px, 52.47586px, 0);
}*/

.home_icon_menu-open-button.active {
  -webkit-transform: scale(0.8, 0.8) translate3d(0, 0, 0);
  transform: scale(0.8, 0.8) translate3d(0, 0, 0);
}

.home_icon_menu-item.active {
  -webkit-transition-timing-function: cubic-bezier(0.935, 0, 0.34, 1.33);
  transition-timing-function: cubic-bezier(0.935, 0, 0.34, 1.33);
}

.home_icon_menu-item.active:nth-child(3) {
  -webkit-transition-duration: 280ms;
  transition-duration: 280ms;
  -webkit-transform: translate3d(122.9466px, -52.47586px, 0);
  transform: translate3d(122.9466px, -52.47586px, 0);
}

.home_icon_menu-item.active:nth-child(4) {
  -webkit-transition-duration: 380ms;
  transition-duration: 380ms;
  -webkit-transform: translate3d(122.9466px, 52.47586px, 0);
  transform: translate3d(122.9466px, 52.47586px, 0);
}
              
            
!

JS

              
                $(".home_icon_menu-open-button,.home_icon_menu-item").mouseover(function() {
  var t = $(this).parent().children(".home_icon_menu-open-button").data('t');
  if (t !== undefined)
    clearTimeout(t);
  $(this).parent().children(".home_icon_menu-item").addClass('active');
  $(this).parent().children(".home_icon_menu-open-button").addClass('active');
}).mouseleave(function() {
  var thisEle = $(this);
  var t = setTimeout(function() {
    thisEle.parent().children(".home_icon_menu-item").removeClass('active');
    thisEle.parent().children(".home_icon_menu-open-button").removeClass('active');
  }, 200);

  $(this).parent().children(".home_icon_menu-open-button").data('t', t);
});
              
            
!
999px

Console