All Source Codes

Css Colour Button Hover Effects

Glowing Ring Animation Effects

Css Colour Button Hover Effects

HTML

<div class=”container”>
<a>   Button</a>
<a>   Button</a>
<a>   Button</a>
<a>   Button</a>
<a>   Button</a>
<a>   Button</a>
</div>

CSS

* {
margin: 0;
padding: 0;
font-family: arial;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
width: 480px;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.container a {
position: relative;
display: inline-block;
padding: 10px 30px;
margin: 20px;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 12px;
color: #fff;
transition: 0.5s;
}
.container a:nth-child(1)
{
background: linear-gradient(to right,

 #a18cd1 , #fbc2eb,#a18cd1 );

background-size: 200%;
}
.container a:nth-child(2)
{
background: linear-gradient(to right,

 #43e97b , #38f9d7,

#43e97b );
background-size: 200%;
}

.container a:nth-child(3)
{
background: linear-gradient(to right,

 #fa709a , #fee140,

#fa709a );
background-size: 200%;
}

.container a:nth-child(4)
{
background: linear-gradient(to right, 

#4481eb , #04befe,

#4481eb );
background-size: 200%;
}

.container a:nth-child(5)
{
background: linear-gradient(to right, 

#ffe29f , #ffa99f

,#ffe29f );
background-size: 200%;
}

.container a:nth-child(6)
{
background: linear-gradient(to right, 

#fdfc47 , #24fe41,

#fdfc47);
background-size: 200%;
}

.container a:hover {
background-position-x: 100%;
transform: translateY(-15px);

}
.container a:after {
content: ”;
position: absolute;
top: 0;
left: 0;
width: 50%;
height: 100%;
background: rgba(255,255,255,.2);

}
.container a:before {
content: ”;
position: absolute;
bottom: 0;
left: 5%;
width: 90%;
height: 4px;
background: rgba(0,0,0,.2);
transform: scale(0);
border-radius: 50%;
filter: blur(5px);
transition: 0.5s;
z-index: -1;
}
.container a:hover:before {

transform: scale(1);
bottom: -15px;

}

HTML

<div class=”loader”>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>

CSS

body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #240229;
}
.loader {
position: relative;
height: 100px;
width: 100px;
border-radius: 50%;
background: linear-gradient(#14ffe9, #ffeb3b, #ff00e0);
animation: animate 0.8s linear infinite;
}
@keyframes animate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.loader span {
position: absolute;
height: 100%;
width: 100%;
border-radius: 50%;
background: linear-gradient(#14ffe9, #ffeb3b, #ff00e0);
}
.loader span:nth-child(1) {
filter: blur(5px);
}
.loader span:nth-child(2) {
filter: blur(10px);
}
.loader span:nth-child(3) {
filter: blur(25px);
}
.loader span:nth-child(4) {
filter: blur(50px);
}

.loader:after {
content: ”;
position: absolute;
top: 10px;
left: 10px;
right: 10px;
bottom: 10px;
background: #240229;
border-radius: 50%;
}

HTML

<div class=”container”>
<div class=”card”>
<div>
<h2>Hello</h2>
<p>lorem ipsum dolor sit amet lorem ipsum dolor
 sit amet lorem ipsum dolor sit amet lorem ipsum  
sit amet lorem ipsum dolor sit amet lorem ipsum 
dolor sit amet</p>
<a href=”#”>Read More</a>
</div>
</div>
<div class=”card”>
<div>
<h2>Legend</h2>
<p>lorem ipsum dolor sit amet lorem ipsum dolor 
sit amet lorem ipsum dolor sit amet lorem ipsum 
dolor  dolor sit amet lorem ipsum dolor sit amet</p>
<a href=”#”>Read More</a>
</div>
</div>
<div class=”card”>
<div>
<h2>Developers</h2>
<p>lorem ipsum dolor sit amet lorem ipsum dolor 
sit amet lorem ipsum dolor sit amet lorem ipsum 
dolor sit  ipsum dolor sit amet</p>
<a href=”#”>Read More</a>
</div>
</div>
</div>

CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: ‘Open Sans’,sans-serif;
}
body {
justify-content: center;
min-height: 100vh;
align-items: center;
display: flex;
}
.container {
width: 1050px;
display: flex;
justify-content: space-between;
}
.container .card {
position: relative;
width: 320px;
padding: 40px;
box-shadow: 0px 10px 30px rgba(0,0,0,.1);
overflow: hidden;
}
.container .card:before {
content: ”;
position: absolute;
left: 0;
bottom: calc(-100% + 4px);
width: 100%;
height: 100%;
background: #000;
z-index: 1;
transition: 0.5s ease-in-out;
}
.container .card:hover:before {
bottom:0;

}
.container .card:nth-child(1):before
{
background: #ff56ac;
}
.container .card:nth-child(2):before
{
background: #1bcaff;
}
.container .card:nth-child(3):before
{
background: #e33cff;
}
.container .card div {
position: relative;
z-index: 2;
}
.container .card div h2 {
margin-bottom: 10px;
font-size: 30px;
transition: .5s;
color: #777;
}
.container .card div a {
font-size: 14px;
margin-top: 20px;
display: inline-block;
transition: .5s;
color: #fff;
color: #777;
padding: 6px 10px;
font-weight: 600;
box-shadow: 0 2px 20px rgba(0,0,0.5);
}
.container .card:hover div h2,
.container .card:hover div p {
color: #fff;
}

Text Animation Effect By CSS

HTML
<body>

<h2><span>Legdevs</span>New Css

<span> Ani</span>mation</h2>

</body>

 

CSS

  • * {
    margin: 0;
    padding: 0;
    font-family: arial;
    }

    body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #000;

    }
    h2 {
    position: relative;
    margin: 0;
    font-size: 4em;
    font-weight: 900;
    color: #fff;
    z-index: 1;
    overflow: hidden;
    }
    h2:before {
    content: ”;
    position: absolute;
    left: 0;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg,transparent 0%, #000 5%, #000 100%);
    animation: animate 5.5s linear forwards;
    }
    @keyframes animate {

    0% {

    left: 110%
    }
    100% {

    left: -20%
    }

    }

    h2 span {
    color: #ff922c;
    }

 

 

Youtube Video Link : https://youtu.be/A1xN2BRB4tI