JSFiddle - React, Tailwind, and code Playground

by luka kupunia

HTML

<div class="container-fluid heads-container">
    <article>
        <div class="item acc-border">
            <div class="image">
                <img src="http://picsum.photos/1200/900" alt="">
                <div class="hover"></div>
            </div>
            <h3 class="bold acc-color">International Cooperation</h3>
            <h2 class="bold acc-color">Levan Sukhitashvili
            </h2>
            <div class="see-more">
                <div class="stick acc-bg"></div>
                <span class="uppercase acc-color">_ვრცლად</span>
                <svg xmlns="http://www.w3.org/2000/svg" width="30" height="18.613" viewBox="0 0 30 18.613">
                    <g id="left-arrow_1_" data-name="left-arrow (1)" transform="translate(30 94.527) rotate(180)">
                        <path id="Path_387" data-name="Path 387" d="M28.7,83.922H4.434l5.791-5.791a1.3,1.3,0,0,0-1.836-1.836L.38,84.3a1.3,1.3,0,0,0,0,1.836l8.008,8.008a1.3,1.3,0,0,0,1.836-1.836L4.434,86.519H28.7a1.3,1.3,0,1,0,0-2.6Z" transform="translate(0)" fill="#3498db"></path>
                    </g>
                </svg>
            </div>
        </div>
    </article>
    <article>
        <div class="item acc-border">
            <div class="image">
                <img src="http://picsum.photos/1200/900" alt="">
                <div class="hover"></div>
            </div>
            <h3 class="bold acc-color">International Cooperation</h3>
            <h2 class="bold acc-color">Levan Sukhitashvili
            </h2>
            <div class="see-more">
                <div class="stick acc-bg"></div>
                <span class="uppercase acc-color">_ვრცლად</span>
                <svg xmlns="http://www.w3.org/2000/svg" width="30" height="18.613" viewBox="0 0 30 18.613">
                    <g id="left-arrow_1_" data-name="left-arrow (1)" transform="translate(30 94.527) rotate(180)">
                        <path id="Path_387" data-name="Path 387"...

CSS

body {
    margin: 0;
    font-size: 10px;
}
ul,li,p,img,h1,h2,h3,h4,h5,h6,input,button,nav {
    padding: 0;
    margin: 0;
    list-style: none;
}
* {
    box-sizing: border-box;
}

.heads-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.heads-container article {
    flex: 0 0 calc(100% / 2);
    width: calc(100% / 2);
    max-width: calc(100% / 2);
    padding: 0 15px;
}

.heads-container article .image {
    width: 100%;
    padding-top: 93%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.heads-container article .image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.heads-container article .image .hover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #0C172D;
    opacity: 0;
    transition: .6s;
}

.heads-container article .item {
    padding-bottom: 30px;
    border-bottom: 1px solid #ECF0F1;
    margin-bottom: 100px;
}

.heads-container article .item:hover .hover {
    opacity: 0.6;
}

.heads-container article .item h3 {
    font-size: 2em;
    color: #3498DB;
    margin-top: 30px;
}

.heads-container article .item h2 {
    font-size: 3.2em;
}

.heads-container article .item .see-more {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.heads-container article .item .see-more .stick {
    width: 40px;
    height: 2.6px;
    background: #0C172D;
    transition: .5s;
    margin-right: 10px;
    border-radius: 100px;
}

.heads-container article .item .see-more span {
    font-size: 1.4em;
    color: #3498DB;
    margin-right: 10px;
    transition: .5s;
    opacity: 0;
    text-transform: capitalize;
}

.heads-container article .item .see-more svg {
    opacity: 0;
    transition: .5s;
}

.heads-container article .item:hover .see-more svg {
   ...