Portfolio style

.portfolio-filter button{
    border: none;
    background: transparent;
    position: relative;
}

.portfolio-filter button:hover,
.portfolio-filter button.active
{
    color: var(--special-color) !important;
}
.portfolio-filter button{
    overflow: hidden;
}
.portfolio-filter button:not(:first-child){
    margin-left: 20px;
}
.portfolio-filter button:before,
.portfolio-filter button.active::before
{
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 50%;
    right: 100%;
    background: var(--special-color);
    transition: .5s all ease;
}
.portfolio-filter button:hover::before,
.portfolio-filter button.active::before{
    right: 0;
}

.portfolio-item {
    margin-bottom: 30px;
    overflow: hidden;
}
.portfolio-item a {
    display: block;
    transition: all .5s ease;
}
.portfolio-item a:hover {
    transform: scale(1.2);
}

Leave a Reply

Your email address will not be published. Required fields are marked *