Multirelated post above /head> tag
<style type='text/css'>
/* Multi Related Post */
.gourabdesignmultiRelated {
background-color: #2a2a2a;
color: #fff;
margin: 15px auto;
display: -moz-box;
display: -ms-flexbox;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
overflow: hidden;
transition: all .3s;
text-shadow: rgba(25, 230, 230, 1) -55px 43px 63px;
border-radius: 10px; /* Adjust the value as needed for rounded corners */
position: relative;
}
.gourabdesignmultiRelated:hover {
background-color: #222;
}
.gourabdesignmultiRelated::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 10px; /* Same as .gourabdesignmultiRelated border-radius */
box-shadow: 0 0 25px 7px rgba(3, 16, 255, 0.44);
opacity: 0;
animation: glowEffect 1s infinite alternate;
}
@keyframes glowEffect {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.gourabdesignmultiRelated .content {
padding: 12px 15px;
}
.gourabdesignmultiRelated .content .text {
margin-right: 5px;
display: inline-block;
animation: heartbeat-text 1s ease infinite;
}
@keyframes heartbeat-text {
0%, 100% {
color: #fff;
transform: scale(1);
}
50% {
color: #fff; /* Adjust color as needed */
transform: scale(1.1);
}
}
.gourabdesignmultiRelated .content a {
color: #fff;
text-decoration: none;
line-height: 1.5em;
}
.gourabdesignmultiRelated .content a:hover {
text-decoration: underline;
}
.gourabdesignmultiRelated .icon {
height: auto;
min-width: 55px;
background: #f44336 url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' fill='%23fff'/%3E%3C/svg%3E") center / 40px no-repeat;
transition: all .3s;
animation: heartbeat-icon 1s ease infinite;
}
</style>