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

              
                11 Link Effects By <a class="link7" href="https://blogchamps.com/">blogchamps.com</a>
<hr>

<p><a  class="link1" href="#" onclick="return false;">Cool link effect 1</a></p>
<p><a class="link2" href="#" onclick="return false;">Cool link effect 2</a></p>
<p><a class="link3" href="#" onclick="return false;">Cool link effect 3</a></p>
<p><a class="link4" href="#" onclick="return false;">Cool link effect 4</a></p>
<p><a class="link5" href="#" onclick="return false;">Cool link effect 5</a></p>
<p><a class="link6" href="#" onclick="return false;">Cool link effect 6</a></p>
<p><a class="link7" href="#" onclick="return false;">Cool link effect 7</a></p>
<p><a class="link8" href="#" onclick="return false;">Cool link effect 8</a></p>
<p><a class="link9" href="#" onclick="return false;">Cool link effect 9</a></p>
<p><a class="link10" href="#" onclick="return false;">Cool link effect 10</a></p>
<p><a class="link11" href="#" onclick="return false;">Cool link effect 11</a></p>
              
            
!

CSS

              
                /*start link1 effect*/
.link1
{
    text-decoration: none;
    color: black;
    background-image: linear-gradient(black, black),linear-gradient(#ffd700, #ffd700);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px, 100% 2px;
    transition: background-size .2s;
	  position: relative;
}
.link1:hover, .link1:focus
{ 
	  background-size: 100% 2px, 100% 100%;
}
/*end link1 effect*/

/*start link2 effect*/
.link2
{
    text-decoration: none;
    color: black;
    background-image: linear-gradient(black, black),linear-gradient(#ffd700, #ffd700);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px, 100% 2px;
    transition: background-size .2s;
	  position: relative;
}
.link2:hover, .link2:focus
{ 
	  background-size: 100% 2px, 100% 100%;
}
/*end link2 effect*/

/*start link3 effect*/
.link3
{
    text-decoration: none;
    color: black;
    background-image: linear-gradient(black, black),linear-gradient(#ffd700, #ffd700);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px, 100% 2px;
    transition: background-size .2s;
	  position: relative;
}
.link3:hover, .link3:focus
{ 
	  background-size: 100% 2px;
}
/*end link3 effect*/

/*start link4 effect*/
.link4
{
    text-decoration: none;
    color: black;
    background-image: linear-gradient(black, black),linear-gradient(black, black),linear-gradient(#ffd700, #ffd700);
    background-position: 0% 100%, 100% 100%, 100% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px, 0% 2px, 100% 2px;
    transition: background-size .2s;
	  position: relative;
}
.link4:hover, .link4:focus
{ 
	  background-size: 50% 2px;
}
/*end link4 effect*/

/*start link5 effect*/
.link5
{
    text-decoration: none;
    color: black;
    background-image: linear-gradient(black, black),linear-gradient(#ffd700, #ffd700);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px, 100% 2px;
    transition: background-size .2s;
	  position: relative;
}
.link5:hover, .link5:focus
{ 
	  background-size: 100% 2px;
}
/*end link5 effect*/

/*start link6 effect*/
.link6
{
    text-decoration: none;
    color: black;
    background-image: linear-gradient(#ffd700, #ffd700);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100% 2px;
    transition: background-size .2s;
	  position: relative;
}
.link6:hover, .link6:focus
{ 
	  background-size: 100% 100%;
}
/*end link6 effect*/


/*start link7 effect*/
.link7
{
    text-decoration: none;
    color: black;
    background-image: linear-gradient(#ffd700, #ffd700);
    background-position: 100% 100%;
    background-repeat: no-repeat;
    background-size: 100% 2px;
    transition: background-position .15s, background-size .12s;
    transition-property: background-position, background-size;
    transition-delay: 0s, .19s;
     
	  position: relative;
}
.link7:hover, .link7:focus
{ 
    background-position: 100% 0%;
    background-size: 100% 100%;
}
/*end link7 effect*/

/*start link8 effect*/
.link8
{
    color: black;
    background-image: linear-gradient(#ffd700, #ffd700);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size .2s;
	  position: relative;
}
.link8:hover, .link8:focus
{ 
	  background-size: 100% 100%;
}
/*end link8 effect*/

/*start link9 effect*/
.link9
{
    color: black;
    background-image: linear-gradient(#ffd700, #ffd700);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 0%, 100% 2px;
    transition: background-size .18s;
	  position: relative;
}
.link9:hover, .link9:focus
{ 
	  background-size: 100% 100%;
}
/*end link9 effect*/

/*start link10 effect*/
.link10
{
    text-decoration: none;
    color: black;
    background-image: linear-gradient(#ffd700, #ffd700),linear-gradient(#ffd700, #ffd700),linear-gradient(black, black);
    background-position: 0% 90%, 100% 0%, 100% 90%;
    background-repeat: no-repeat;
    background-size: 0% 1px, 0% 1px, 100% 1px;
    transition: background-size .2s;
	  position: relative;
}
.link10:hover, .link10:focus
{ 
	  background-size: 100% 1px, 100% 1px;
}
/*end link10 effect*/

/*start link11 effect*/
.link11
{
    color: black;
    transition: color .2s;
}
.link11:hover, .link11:focus
{ 
	  color: #ffd700;
}
/*end link11 effect*/
              
            
!

JS

              
                
              
            
!
999px

Console