Code Snippet #001

Cool Codes™

Codes saved from Avada days. Most are extremely outdated, and involve fusion classes that we don’t use anymore. But a good reference for certain effects.

Posted By

Melissa G

Service Option One

Service Option Two

Service Box Duotone Hovers

CSS

Add to customizer CSS

				
					/* DUOTONE ANIMATION HOVERS */
.hover-box {
  position: relative;
  z-index: 1;
  display: block;
  padding-top: 150px;
  padding-bottom: 150px;
  width: 100%;
  background: #000 url('MAIN BACKGROUND URL');
  background-size: 100%!important;
  background-position: bottom right!important;
  overflow: hidden;
  transition: all 300ms ease-in-out;
  -webkit-filter: none;
  filter: none;
  background-blend-mode: normal;
}

.box-2 {
  background: url('SECOND BACKGROUND URL');
}

.box-3 {
  background: url('THIRD BACKGROUND URL');
}

.box-4 {
  background: url('FOURTH BACKGROUND URL');
}

.hover-text {
  color: #fff;
  width: 100%;
  display: block;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  line-height: 16px;
  transition: .4s;
  -webkit-animation: text-in-n-out-out 2s; /* Safari 4+ */
  -moz-animation:    text-in-n-out-out 2s; /* Fx 5+ */
  -o-animation:      text-in-n-out-out 2s; /* Opera 12+ */
  animation:         text-in-n-out-out 2s; /* IE 10+, Fx 29+ */
  position: relative;
  z-index: 5;
}

.hover-box:hover .hover-text {
  -webkit-animation: text-in-n-out-in 2s; /* Safari 4+ */
  -moz-animation:    text-in-n-out-in 2s; /* Fx 5+ */
  -o-animation:      text-in-n-out-in 2s; /* Opera 12+ */
  animation:         text-in-n-out-in 2s; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes text-in-n-out-in {
  0%   { opacity: 1; }
  30%   { opacity: 0; margin-left: 40px; letter-spacing: 1px;}
  31%   { margin-left: -40px; letter-spacing: -1px}
  100% { opacity: 1; letter-spacing: 1px; }
}
@-moz-keyframes text-in-n-out-in {
  0%   { opacity: 1; }
  30%   { opacity: 0; margin-left: 40px; letter-spacing: 1px;}
  31%   { margin-left: -40px; letter-spacing: -1px}
  100% { opacity: 1; letter-spacing: 1px; }
}
@-o-keyframes text-in-n-out-in {
  0%   { opacity: 1; }
  30%   { opacity: 0; margin-left: 40px; letter-spacing: 1px;}
  31%   { margin-left: -40px; letter-spacing: -1px}
  100% { opacity: 1; letter-spacing: 1px; }
}
@keyframes text-in-n-out-in {
  0%   { opacity: 1; }
  30%   { opacity: 0; margin-left: 40px; letter-spacing: 1px;}
  31%   { margin-left: -40px; letter-spacing: -1px}
  100% { opacity: 1; letter-spacing: 1px; }
}

@-webkit-keyframes text-in-n-out-out {
  0%   { opacity: 1; }
  30%   { opacity: 0; margin-left: 40px; letter-spacing: 1px;}
  31%   { margin-left: -40px; letter-spacing: -1px}
  100% { opacity: 1; letter-spacing: 1px; }
}
@-moz-keyframes text-in-n-out-out {
  0%   { opacity: 1; }
  30%   { opacity: 0; margin-left: 40px; letter-spacing: 1px;}
  31%   { margin-left: -40px; letter-spacing: -1px}
  100% { opacity: 1; letter-spacing: 1px; }
}
@-o-keyframes text-in-n-out-out {
  0%   { opacity: 1; }
  30%   { opacity: 0; margin-left: 40px; letter-spacing: 1px;}
  31%   { margin-left: -40px; letter-spacing: -1px}
  100% { opacity: 1; letter-spacing: 1px; }
}
@keyframes text-in-n-out-out {
  0%   { opacity: 1; }
  30%   { opacity: 0; margin-left: 40px; letter-spacing: 1px;}
  31%   { margin-left: -40px; letter-spacing: -1px}
  100% { opacity: 1; letter-spacing: 1px; }
}

.bottom-corner-clip {
  -webkit-clip-path: polygon(100% 100%, 100% 100%, 100% 100%);
  clip-path: polygon(100% 100%, 100% 100%, 100% 100%);
  background: #000 url('MAIN BACKGROUND URL');
  background-size: calc(100% - 100px)!important;
  background-position: bottom right!important;
  width: calc(100% + 100px);
  height: calc(100% + 79px);
  position: absolute;
  bottom: 0px;
  right: 0px;
  z-index: 3;
  transition: .5s;
  -webkit-filter: url(#duotone_redblue);
  -moz-filter: url(#duotone_redblue);
  -o-filter: url(#duotone_redblue);
  -ms-filter: url(#duotone_redblue);
  filter:  url(#duotone_redblue);
}

.bottom-corner-clip.even-box {
  background: url('SECOND BACKGROUND URL');
  background-position: bottom left!important;
  background-size: calc(100% - 100px)!important;
  -webkit-clip-path: polygon(0 100%, 0 100%, 0 100%);
  clip-path: polygon(0 100%, 0 100%, 0 100%);
  right: auto!important;
  left: 0!important;
}

.box-3 .bottom-corner-clip {
    background: url('THIRD BACKGROUND URL');
}
.box-4 .bottom-corner-clip {
    background: url('FOURTH BACKGROUND URL');
}

.hover-box:hover .bottom-corner-clip {
  bottom: 0px;
  right: 0px;
  -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  -webkit-filter: url(#duotone_redblue);
  -moz-filter: url(#duotone_redblue);
  -o-filter: url(#duotone_redblue);
  -ms-filter: url(#duotone_redblue);
  filter:  url(#duotone_redblue);
}

.hover-box:hover .bottom-corner-clip.even-box {
  -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%)!important;
  clip-path: polygon(0 0, 0 100%, 100% 100%)!important;
  right: auto!important;
  left: 0!important;
}
.top-corner-clip {
  -webkit-clip-path: polygon(0 0, 0 0, 0 0);
  clip-path: polygon(0 0, 0 0, 0 0);
  background: #000 url('MAIN BACKGROUND URL');
  background-size: calc(105% - 30px)!important;
  background-position: bottom right!important;
  width: calc(100% + 30px);
  height: calc(100% + 24px);
  position: absolute;
  bottom: 0px;
  right: 0px;
  z-index: 4;
  transition: 1s;
  -webkit-filter: url(#duotone_redblue);
  -moz-filter: url(#duotone_redblue);
  -o-filter: url(#duotone_redblue);
  -ms-filter: url(#duotone_redblue);
  filter:  url(#duotone_redblue);
}
.top-corner-clip.even-box {
  background: url('SECOND BACKGROUND URL');
  background-position: bottom right!important;
  background-size: calc(105% - 30px)!important;
  -webkit-clip-path: polygon(100% 0, 100% 0, 100% 0);
  clip-path: polygon(100% 0, 100% 0, 100% 0);
  right: auto!important;
  left: 0!important;
}
.box-3 .top-corner-clip {
    background: url('THIRD BACKGROUND URL');
}
.box-4 .top-corner-clip {
    background: url('FOURTH BACKGROUND URL');
}

.hover-box:hover .top-corner-clip {
  bottom: 0px;
  right: 0px;
  -webkit-clip-path: polygon(100% 0, 0% 100%, 0 0);
  clip-path: polygon(100% 0, 0% 100%, 0 0);
  background-size: calc(105% - 30px);
  -webkit-filter: url(#duotone_redblue);
  -moz-filter: url(#duotone_redblue);
  -o-filter: url(#duotone_redblue);
  -ms-filter: url(#duotone_redblue);
  filter:  url(#duotone_redblue);
}

.hover-box:hover .top-corner-clip.even-box {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%)!important;
  clip-path: polygon(0 0, 100% 0, 100% 100%)!important;
  right: auto!important;
  left: 0!important;
}

.duotone-filters, #duotone_redblue, .hide-container {
  height: 0!important;
}


/* SHRINK PADDING ON BOXES */
@media only screen and (max-width: 1500px) {
    .hover-box {
      padding-top: 100px;
      padding-bottom: 100px;
    }
}

/* SHRINK PADDING ON BOXES */
@media only screen and (max-width: 1024px) {
    .hover-box {
      padding-top: 80px;
      padding-bottom: 80px;
    }
}

/* DROP TO TWO COLUMNS */
@media only screen and (max-width: 932px) {
    .hover-box {
          padding-top: 150px;
          padding-bottom: 150px;
        }
}

/* DROP TO TWO COLUMNS */
@media only screen and (max-width: 750px) {
    .hover-box {
          padding-top: 100px;
          padding-bottom: 100px;
        }
}

/* SPLIT IN HALVES CODE */

/* TURN ON HALVES */
@media only screen and (max-width: 932px) {
    .split-in-halves .fusion-layout-column, .split-in-halves.fusion-content-boxes .fusion-column {
        width: 50%!important;
        max-width: 50%!important;
        margin-right: 0px!important;
    }
    .split-in-halves .fusion-layout-column:nth-child(even), .split-in-halves.fusion-content-boxes .fusion-column:nth-child(even) {
        margin-right: 0!important;
    }
    .split-in-halves .fusion-column {
        padding-left: 10px!important;
        padding-right: 10px!important;
        margin: 0 0 20px!important;
    }
}

/* CONTENT CONTAINERS TO MOBILE */
@media only screen and (max-width: 800px) {
    .split-in-halves.fusion-content-boxes .fusion-column {
        width:100%!important;
        max-width: 100%!important;
        margin-right: 0px!important;
    }
}

/* GO DOWN TO ONE COLUMN */
@media only screen and (max-width: 512px) {
    .split-in-halves .fusion-layout-column, .split-in-halves.fusion-content-boxes .fusion-column {
        width:100%!important;
        max-width: 100%!important;
        margin-right: 0px!important;
    }
}
				
			

HTML

Add to HTML Widget on page

Service Box #1

				
					<div class="hover-box">
  <div class="hover-text">
    SERVICE TITLE
  </div>
  <div class="top-corner-clip"></div>
  <div class="bottom-corner-clip"></div>
</div>
				
			

Service Box #2

				
					<div class="hover-box box-2">
  <div class="hover-text">
    SERVICED TITLE
  </div>
 <div class="top-corner-clip even-box"></div>
  <div class="bottom-corner-clip even-box"></div>
</div>
				
			

SVG

Add to bottom of HTML Widget on page

				
					<svg class="duotone-filters" xmlns="http://www.w3.org/2000/svg">  
    
    <filter id="duotone_redblue">
        <feColorMatrix type="matrix" result="gray"
            values="1 0 0 0 0
                    1 0 0 0 0
                    1 0 0 0 0
                    0 0 0 1 0" >
        </feColorMatrix>

        <feComponentTransfer color-interpolation-filters="sRGB" result="duotone"> 
            <feFuncR type="table" tableValues="0.38823529 0.27843137"></feFuncR>
            <feFuncG type="table" tableValues="0.02352941 0.47843137"></feFuncG>
            <feFuncB type="table" tableValues="0.10196078 0.72156863"></feFuncB>
            <feFuncA type="table" tableValues="0 1"></feFuncA>
        </feComponentTransfer> 
    </filter>
				
			

Image Background

Image Background On Text

CSS

Add to customizer CSS

				
					/* IMAGE BACKGROUND ON TEXT */
h2 {
  	background: url('BACKGROUND IMAGE URL HERE') repeat top left;
    background-size: auto auto;
    background-clip: border-box;
    background-size: 100% !important;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 2px 1px rgba(250,250,250,0.5);
}
				
			

shine

Shine Text

CSS

Add to customizer CSS

				
					.effect-shine {
  color: #fff;
  font-size: 10vw;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 6px;
  display: inline-block;
  position: relative;
  font-family: 'Merriweather', serif;
  -webkit-mask-image: linear-gradient(-75deg, rgba(0,0,0,.6) 30%, #000 50%, rgba(0,0,0,.6) 70%);
  -webkit-mask-size: 200%;
  animation: shine 2s linear infinite;
}

@keyframes shine {
  from { -webkit-mask-position: 150%; }
  to { -webkit-mask-position: -50%; }
}
				
			

SVG Animated Border Button

CSS

Add to customizer CSS

				
					/* SVG BORDER BUTTON STYLING */
.btn {
  color: #000;
  cursor: pointer;
  display: block;
  font-size:12px;
  line-height: 20px;
  margin: 10px 0;
  width: 200px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  padding: 13px 29px!important;
}

.btn.centered-btn {
    margin: 10px auto!important;
}

.btn.white-btn {
    color: #fff!important;
}

.btn-1 {
  background: transparent;
  font-weight: 600;
  font-family: 'Open Sans'!important;
  letter-spacing: 0px;
  text-align:center;
  transition: .4s;
}
  
svg {
    height: 45px;
    left: 0;
    position: absolute;
    top: 0; 
    width: 100%; 
}

  
svg rect {
    fill: none;
    stroke: #000;
    stroke-width: 3;
    stroke-dasharray: 445, 0;
     transition-delay: none;
     transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
  }
  
.white-btn svg rect {
    stroke: #fff;
}


.btn-1:hover {
  background: rgba(250,250,250, 0);
  font-weight: 800;
  letter-spacing: 1px;
  color: #444!important;
}

.btn-1.white-btn:hover {
    color: #fff!important;
}

.btn-1:hover rect {
    stroke: #444;
    stroke-width: 5;
    stroke-dasharray: 15, 367;
    stroke-dashoffset: 48;
}

.btn-1.white-btn:hover rect {
    stroke: #fff;
}
				
			

HTML

Add to HTML Widget on page

				
					 <a href="#" class="btn btn-1">
      <svg>
        <rect x="0" y="0" fill="none" width="100%" height="100%"/>
      </svg>
     Example Button
    </a>
				
			

SVG Arrow Dropshadow Button

CSS

Add to customizer CSS

				
					.button-wrapper {
    display: inline-block;
    width: 240px;
    text-align: center;
    margin-left: -24px;
}


.cta {
    display: inline-block;
    padding: 10px 10px 10px 20px;
    text-decoration: none;
    font-family: 'Bitter', serif;
    text-transform: uppercase;
    font-size: 20px;
    color: white;
    background: #00adee;
    transition: 1s !important;
    box-shadow: 6px 6px 0 #221f1f;
    transform: skewX(-15deg);
}

.cta:focus {
   outline: none; 
}

.cta:hover {
    color: white;
    transition: 0.5s !important;
    box-shadow: 10px 10px 0 #eb008b;
}

.cta span:nth-child(2) {
    transition: 0.5s !important;
    margin-right: 0px;
}

.cta:hover  span:nth-child(2) {
    transition: 0.5s !important;
    margin-right: 20px !important;
}

.cta span {
    transform: skewX(15deg);
    display: inline-block;
  }

.cta span:nth-child(2) {
    width: 20px;
    margin-left: 20px !important;
    position: relative;
    top: 12%;
    vertical-align: sub;
  }
  
/**************SVG****************/

path.one {
    transition: 0.4s !important;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s !important;
    transform: translateX(-30%);
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */

@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: #fff100;
    }
    100% {
        fill: white;
    }
}



.fusion-main-menu {
    overflow: visible !important;
}

.fusion-main-menu .button-wrapper {
    width: 210px !important;
    margin-left: 0!important;
}

.fusion-main-menu #menu-item-601 {
    margin-top: -48px!important;
}

.fusion-main-menu ul .button-wrapper a {
    display: inline-block !important;
}

#menu-item-696 {
    display: none;
}

/* SWITCH TO MOBILE NAV */
@media only screen and (max-width: 1105px) {
    #menu-item-601, #mobile-menu-item-601 {
        display: none!important;
    }
}


.fusion-main-menu .cta {
    padding: 3px 10px 1px 20px;
    font-size: 16px;
}


.fusion-main-menu .cta span:nth-child(2) {
    margin-left: 8px;
}
				
			

HTML

Add to HTML Widget on page

				
					<div class="button-wrapper">
  <a class="cta" href="./services/">
    <span>What We Do</span>
    <span>
      <svg width="30px" height="22px" viewBox="0 0 66 43" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
        <g id="arrow" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
          <path class="one" d="M40.1543933,3.89485454 L43.9763149,0.139296592 C44.1708311,-0.0518420739 44.4826329,-0.0518571125 44.6771675,0.139262789 L65.6916134,20.7848311 C66.0855801,21.1718824 66.0911863,21.8050225 65.704135,22.1989893 C65.7000188,22.2031791 65.6958657,22.2073326 65.6916762,22.2114492 L44.677098,42.8607841 C44.4825957,43.0519059 44.1708242,43.0519358 43.9762853,42.8608513 L40.1545186,39.1069479 C39.9575152,38.9134427 39.9546793,38.5968729 40.1481845,38.3998695 C40.1502893,38.3977268 40.1524132,38.395603 40.1545562,38.3934985 L56.9937789,21.8567812 C57.1908028,21.6632968 57.193672,21.3467273 57.0001876,21.1497035 C56.9980647,21.1475418 56.9959223,21.1453995 56.9937605,21.1432767 L40.1545208,4.60825197 C39.9574869,4.41477773 39.9546013,4.09820839 40.1480756,3.90117456 C40.1501626,3.89904911 40.1522686,3.89694235 40.1543933,3.89485454 Z" fill="#FFFFFF"></path>
          <path class="two" d="M20.1543933,3.89485454 L23.9763149,0.139296592 C24.1708311,-0.0518420739 24.4826329,-0.0518571125 24.6771675,0.139262789 L45.6916134,20.7848311 C46.0855801,21.1718824 46.0911863,21.8050225 45.704135,22.1989893 C45.7000188,22.2031791 45.6958657,22.2073326 45.6916762,22.2114492 L24.677098,42.8607841 C24.4825957,43.0519059 24.1708242,43.0519358 23.9762853,42.8608513 L20.1545186,39.1069479 C19.9575152,38.9134427 19.9546793,38.5968729 20.1481845,38.3998695 C20.1502893,38.3977268 20.1524132,38.395603 20.1545562,38.3934985 L36.9937789,21.8567812 C37.1908028,21.6632968 37.193672,21.3467273 37.0001876,21.1497035 C36.9980647,21.1475418 36.9959223,21.1453995 36.9937605,21.1432767 L20.1545208,4.60825197 C19.9574869,4.41477773 19.9546013,4.09820839 20.1480756,3.90117456 C20.1501626,3.89904911 20.1522686,3.89694235 20.1543933,3.89485454 Z" fill="#FFFFFF"></path>
          <path class="three" d="M0.154393339,3.89485454 L3.97631488,0.139296592 C4.17083111,-0.0518420739 4.48263286,-0.0518571125 4.67716753,0.139262789 L25.6916134,20.7848311 C26.0855801,21.1718824 26.0911863,21.8050225 25.704135,22.1989893 C25.7000188,22.2031791 25.6958657,22.2073326 25.6916762,22.2114492 L4.67709797,42.8607841 C4.48259567,43.0519059 4.17082418,43.0519358 3.97628526,42.8608513 L0.154518591,39.1069479 C-0.0424848215,38.9134427 -0.0453206733,38.5968729 0.148184538,38.3998695 C0.150289256,38.3977268 0.152413239,38.395603 0.154556228,38.3934985 L16.9937789,21.8567812 C17.1908028,21.6632968 17.193672,21.3467273 17.0001876,21.1497035 C16.9980647,21.1475418 16.9959223,21.1453995 16.9937605,21.1432767 L0.15452076,4.60825197 C-0.0425130651,4.41477773 -0.0453986756,4.09820839 0.148075568,3.90117456 C0.150162624,3.89904911 0.152268631,3.89694235 0.154393339,3.89485454 Z" fill="#FFFFFF"></path>
        </g>
      </svg>
    </span> 
  </a>
</div>
				
			

Bubble Fill Button

CSS

Add to customizer CSS

				
					/* BUBBLE BUTTON */

/* alternate colors */

.fusion-menu-item-button {
    padding-top: 10px!important;
    padding-bottom: 0!important;
}
.typ-subhed, .fusion-menu-item-button {
    line-height: 14px;
    letter-spacing: 0!important;
    font-size: 14px!important;
}
    

.ctrl-standard.fx-bubbleUp, .ctrl-standard.fx-bubbleUp.is-reversed:hover, .fusion-header.active .fusion-menu-item-button .menu-text:hover, .fusion-header.active .fusion-menu-item-button .menu-text {
    background-color: transparent!important;
    border: 2px solid #333!important;
}

.ctrl-standard.fx-bubbleUp.white-btn, .fusion-menu-item-button .menu-text, .fusion-menu-item-button .menu-text:hover {
    border: 2px solid #fff!important;
    background-color: transparent!important;
}

.ctrl-standard.fx-bubbleUp span, .ctrl-standard.fx-bubbleUp.is-reversed:hover span, .ctrl-standard.fx-bubbleUp.white-btn:hover span, .fusion-header .fusion-menu-item-button .menu-text {
    color: #333!important;
    font-size: 14px!important;
}


.ctrl-standard.fx-bubbleUp:hover span, .ctrl-standard.fx-bubbleUp.is-reversed span, .ctrl-standard.fx-bubbleUp.white-btn span, .fusion-header.active .fusion-menu-item-button .menu-text, .fusion-header .fusion-menu-item-button:hover .menu-text {
    color: #fff!important;
}

.ctrl-standard.fx-bubbleUp:after, .fusion-header.active .fusion-menu-item-button .menu-text:after {
    top: auto!important;
    border-radius: 50% 50% 0 0/75% 75% 0 0;
    background: #333;
}

.fusion-menu-item-button .menu-text:after {
    top: auto!important;
    border-radius: 50% 50% 0 0/75% 75% 0 0;
    background: #fff;
}

.ctrl-standard.fx-bubbleUp.white-btn:after {
    background: #fff!important;
}

.ctrl-standard.fx-bubbleUp.is-reversed:after, .fusion-menu-item-button .menu-text:after {
    height: 360%;
}

.ctrl-standard.fx-bubbleUp.is-reversed:after:hover span, .ctrl-standard.fx-bubbleUp.white-btn:hover span, .fusion-menu-item-button a .fusion-button span {
    color: #333!important;
}

.fusion-menu-item-button a .fusion-button:hover span {
    color: #fff!important;
}

.ctrl-standard.fx-bubbleUp.is-reversed:hover:after {
    height: 0;
}


[class*="fx-"] span, [class*="fx-"]:hover span, .fusion-menu-item-button:hover .menu-text span {
    transition: color 0.5s  ease-in-out!important;
}
.fusion-menu-item-button .menu-text span, .fusion-menu-item-button a .fusion-button span, .fusion-header.active .fusion-menu-item-button:hover .menu-text {
    color: #333!important;
}
[class*="fx-"]:not(.fx-dyna), .fusion-menu-item-button .menu-text {
    position: relative;
    z-index: 1;
    transition-delay: 0.2s !important;
    overflow: hidden;
}
[class*="fx-"]:not(.fx-dyna)::after, [class*="fx-"]:not(.fx-dyna)::before, .fusion-menu-item-button .menu-text:after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
}
[class*="fx-bubble"]::after, .fusion-menu-item-button .menu-text:after {
    transition: height 0.5s ease-in-out;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0;
    width: 100%;
}
[class*="fx-bubble"]:hover::after, [class*="fx-bubble"].active::after, .fusion-menu-item-button .menu-text:after {
    transition: height 0.5s ease-in-out;
    height: 360%;
}
[class*="fx-bubble"]:disabled:hover::after, .fusion-menu-item-button .menu-text:hover:after {
    height: 0;
}

.fx-sliderIn::after {
    transition: width 0.5s ease-in-out;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 0;
}
.fx-sliderIn:hover::after, .fx-sliderIn.active::after {
    transition: width 0.5s ease-in-out;
    width: 100%;
}
:checked + .fx-sliderIn::after, .fx-sliderIn.active::after {
    width: 360%;
}
				
			

Notes

Classes to use to change styles

Base Classes

ctrl-standard typ-subhed fx-bubbleUp

To Make It White

white-btn

To Make It White

white-btn

From Fill To Outline

is-reversed

Border Grow Button

CSS

Add to customizer CSS

				
					/* BORDER GROW BUTTON */

.fusion-button, .fusion-button.darktext span {
  transition: 0.7s;
  -webkit-transition:0.7s;
  transition-delay: .5s;
}

.fusion-button:hover {
  color: #FFF;
}

.active .menu-item .fusion-button:hover, .fusion-button.darktext:hover span {
  color: #444 !important;
}

.fusion-button.darktext:hover span {
  transition-delay: 0s;
}


.fusion-button::before, .fusion-button::after {
  width: 100%;
  height:43px;
  z-index: 3;
  content:'';
  position: absolute;
  top:0;
  left:0;
  box-sizing: border-box;
  -webkit-transform: scale(0);
  transition: 0.5s;
}

.fusion-button::before {
  border-bottom: 2px solid #770000;
  border-left: 2px solid #770000;
  -webkit-transform-origin: 0 100%;
}

.fusion-button::after {
  border-top: 2px solid #770000;
  border-right: 2px solid #770000;
  -webkit-transform-origin: 100% 0%;
}

.fusion-button:hover::after, .fusion-button:hover::before {
  -webkit-transform: scale(1);
}
				
			

Border Grow Button

CSS

Add to customizer CSS

				
					/* BOTTOM BAR BUTTON */

.fusion-button::after {
    content: '';
    background: #22338A;
    opacity: 0;
    display: block;
    left: 0;
    bottom: 0px;
    width: 0%;
    height: 4px;
	float: right!important;
  	transition: width .4s, opacity 0s .4s;
  	position: absolute;
}

.fusion-button:hover::after {
    background: #121F62;
    width: 100%;
    opacity: 1!important;
	float: left!important;
  	transition: width .4s, opacity 0s 0s;
}
				
			

Slant Hover Button

CSS

Add to customizer CSS

				
					.fusion-button {
    overflow: hidden;
    width: 150px !important;
    height: 43px !important;
}

.slide-button {
    overflow: hidden;
    width: 180px !important;
    height: 57px !important;
}

.fusion-button-text, .slide-btn-text {
    position: relative;
    z-index: 5;
}

.menu-text {
    vertical-align: middle;
    line-height: 22px;
}

.fusion-button:before, .fusion-button:after,
.slide-button:before, .slide-button:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 0 solid;
    box-sizing: border-box;
    transform: rotate(360deg);
    transition: .5s;
}
  
.fusion-button:before,
.slide-button:before {
    bottom: 0;
    left: 0;
    border-color: transparent transparent transparent #560517;
}

.fusion-button:after, 
.slide-button:after {
    top: 0;
    right: 0;
    border-color: transparent #560517 transparent transparent;
}


.fusion-button:hover:before, .fusion-button:hover:after {
    border-width: 43px calc(150px * 1.05);
}

.slide-button:hover:before, .slide-button:hover:after {
    border-width: 57px calc(180px * 1.05);
}
				
			

Sleek Nav Hovers

CSS

Add to customizer CSS

Left To Right
				
					/* LEFT TO RIGHT UNDERLINE */

.fusion-header.active .fusion-main-menu > ul > li > a {
    color: #fff!important;
}

.fusion-header.active .fusion-main-menu > ul > li > a:hover, .fusion-header.active .fusion-main-menu > ul > li.current_page_item > a, .fusion-header.active .fusion-main-menu > ul > li.current-menu-item > a, .fusion-header.active .fusion-main-menu > ul > li.menu-item-has-children > a:hover, .fusion-header.active .fusion-main-menu .current-menu-parent > a {
    color: #f02134!important;   
}

.fusion-header .fusion-main-menu > ul > li > a:after, .fusion-header .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header .fusion-main-menu .current-menu-parent > a:after  {
	content: '';
    display: block;
	width: 0;
	opacity: 0;
	height: 3px;
	margin: -10px 0 10px!important;
	background: #f02134;
	transition: .4s;
	float: right!important;
  	transition: width .4s, opacity 0s .4s;
}

.fusion-header.active .fusion-main-menu > ul > li > a:after, .fusion-header.active .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header.active .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header.active .fusion-main-menu .current-menu-parent > a:after {
	background: #f02134!important;
}

.fusion-header .fusion-main-menu > ul > li > a:hover:after, .fusion-header .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header .fusion-main-menu .current-menu-parent > a:after {
	width: 100%!important;
	opacity: 1!important;
	float: left!important;
  	transition: width .4s, opacity 0s 0s;
}

.fusion-header .fusion-main-menu > ul > li.fusion-menu-item-button > a:after, .fusion-header .fusion-main-menu > ul > li.fusion-menu-item-button > a:hover:after {
	width: 0!important;
	opacity: 0!important;
	float: right!important;
}
				
			
Center Out
				
					/* CENTER OUT UNDERLINE */

.fusion-header.active .fusion-main-menu > ul > li > a {
    color: #555555!important;
}

.fusion-header.active .fusion-main-menu > ul > li > a:hover, .fusion-header.active .fusion-main-menu > ul > li.current_page_item > a, .fusion-header.active .fusion-main-menu > ul > li.current-menu-item > a, .fusion-header.active .fusion-main-menu > ul > li.menu-item-has-children > a:hover, .fusion-header.active .fusion-main-menu .current-menu-parent > a {
    color: #415d95!important;   
}

.fusion-header .fusion-main-menu > ul > li > a:after, .fusion-header .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header .fusion-main-menu .current-menu-parent > a:after  {
	content: '';
    display: block;
	width: 0;
	opacity: 0;
	height: 3px;
	margin: -10px auto 10px!important;
	background: #aabbd6;
	transition: .4s;
}

.fusion-header.active .fusion-main-menu > ul > li > a:after, .fusion-header.active .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header.active .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header.active .fusion-main-menu .current-menu-parent > a:after {
	background: #415d95!important;
}

.fusion-header .fusion-main-menu > ul > li > a:hover:after, .fusion-header .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header .fusion-main-menu > ul > li.current-menu-item > a:after, .fusion-header .fusion-main-menu .current-menu-parent > a:after {
	width: 100%!important;
	opacity: 1!important;
}

.fusion-header .fusion-main-menu > ul > li.fusion-menu-item-button > a:after, .fusion-header .fusion-main-menu > ul > li.fusion-menu-item-button > a:hover:after {
	width: 0!important;
	opacity: 0!important;
}