npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pure-css3-animated-border

v1.0.0

Published

A pure css3 animated border which supports all moden browser.

Readme

pure-css-animated-border

A pure css3 animated border which supports all moden browser.

CDN Link

https://cdn.jsdelivr.net/gh/code-fx/[email protected]/css/animated-border/animated-border.min.css

Demo Link

See the online demo.

1,2 Line Animated Boder Examples


<a href="ui-box top-leftToRight">
  Animated Hyperlink Border
</a>

<div class="ui-box bottom-rightToLeft">
  Animated Div Border
</a>

<button class="ui-box left-bottomToTop">
  Animated Button Border
</button>

<p class="ui-box right-topToBottom">
  Animated Paragraph Border
</p>
Modify border style, color, width and easing
<style>
  //top border
  .top-leftToRight:before{
    border-top: 1px solid Tomato;
    transition-timing-function: linear;
  }

  //bottom border
  .bottom-rightToLeft:after{
    border-bottom: 1px solid DodgerBlue;
    transition-timing-function: ease-in;
  }

  //left border
  .left-bottomToTop:before{
    border-left: 1px solid smokeWhite;
    transition-timing-function: ease-out;
  }

  //right border
  .right-topToBottom:after{
     border-right: 1px solid MediumSeaGreen;
     transition-timing-function: ease-in-out;
  }
</style>

4 Line Animated Boder Example

<a href="ui-box top-leftStart">
  <span class='ui-border-element'>
    Animated Hyperlink
  </span>
</a>
Modify border style, color, width and easing
<style>
  //top border
  .top-leftStart:before{
    border-top: 1px solid Tomato;
    transition-timing-function: linear;
  }

  //bottom border
  .top-leftStart:after{
    border-bottom: 1px solid DodgerBlue;
    transition-timing-function: ease-in;
  }

  //left border
  .top-leftStart .ui-border-element:before{
    border-left: 1px solid smokeWhite;
    transition-timing-function: ease-out;
  }

  //right border
  .top-leftStart .ui-border-element:after{
     border-right: 1px solid MediumSeaGreen;
     transition-timing-function: ease-in-out;
  }
</style>

Animated Border Class Name

| Class Name | Use Span | | ---------------- |-------------| | .ui-box .topBottom-leftRightCorner | <span class='ui-border-element'> Your Content... </span> | | .ui-box .topBottom-rightLeftCorner | <span class='ui-border-element'> Your Content... </span> | | .ui-box .forwardBorderTrain | <span class='ui-border-element'> Your Content... </span> | | .ui-box .backwardBorderTrain | <span class='ui-border-element'> Your Content... </span> | | .ui-box .border-inOutSpread | <span class='ui-border-element'> Your Content... </span> | | .ui-box .slideOpposite | <span class='ui-border-element'> Your Content... </span> | | .ui-box .top-leftToRight | | | .ui-box .right-topToBottom | | | .ui-box .bottom-rightToLeft | | | .ui-box .left-bottomToTop | | | .ui-box .top-rightToLeft | | | .ui-box .right-bottomToTop | | | .ui-box .bottom-leftToRight | | | .ui-box .left-topToBottom | | | .ui-box .top-inOutSpread | | | .ui-box .right-inOutSpread | | | .ui-box .bottom-inOutSpread | | | .ui-box .left-inOutSpread | | | .ui-box .top-slideOpposite | | | .ui-box .right-slideOpposite | | | .ui-box .bottom-slideOpposite | | | .ui-box .left-slideOpposite | | | .ui-box .top-leftStart | <span class='ui-border-element'> Your Content... </span> | | .ui-box .top-rightStart | <span class='ui-border-element'> Your Content... </span> | | .ui-box .bottom-rightStart | <span class='ui-border-element'> Your Content... </span> | | .ui-box .bottom-leftStart | <span class='ui-border-element'> Your Content... </span> | | .ui-box .top-leftStart-backward | <span class='ui-border-element'> Your Content... </span> | | .ui-box .top-rightStart-backward | <span class='ui-border-element'> Your Content... </span> | | .ui-box .bottom-rightStart-backward | <span class='ui-border-element'> Your Content... </span> | | .ui-box .bottom-leftStart-backward | <span class='ui-border-element'> Your Content... </span> | | .ui-box .top-leftStart-burst | <span class='ui-border-element'> Your Content... </span> | | .ui-box .top-rightStart-burst | <span class='ui-border-element'> Your Content... </span> | | .ui-box .bottom-rightStart-burst | <span class='ui-border-element'> Your Content... </span> | | .ui-box .bottom-leftStart-burst | <span class='ui-border-element'> Your Content... </span> | | .ui-box .top-leftStart-burst-backward | <span class='ui-border-element'> Your Content... </span> | | .ui-box .top-rightStart-burst-backward | <span class='ui-border-element'> Your Content... </span> | | .ui-box .bottom-rightStart-burst-backward | <span class='ui-border-element'> Your Content... </span> | | .ui-box .bottom-leftStart-burst-backward | <span class='ui-border-element'> Your Content... </span> | | .ui-box .top-stay | <span class='ui-border-element'> Your Content... </span> | | .ui-box .right-stay | <span class='ui-border-element'> Your Content... </span> | | .ui-box .bottom-stay | <span class='ui-border-element'> Your Content... </span> | | .ui-box .left-stay | <span class='ui-border-element'> Your Content... </span> |

Donate Link

Donate Now.