JSFiddle - React, Tailwind, and code Playground

by rami7250

HTML

<div class="elements-promo">
<div class="elements-promo__copy-wrapper">
<div class="elements-promo__content">

<a class="fill" href="http://ebaysecrets.co.il/">

<h2 class="elements-heading fds-c-text-heading -size-l fds-u-mb0">Deliver better projects faster</h2>

<p class="elements-heading fds-c-text-body fds-u-mb0">Unlimited photos, web templates, graphic assets &amp; courses.</p>
<br><br>
</a>
<div class="elements-promo__button-wrapper">
<a class="elements-promo__button" href="http://ebaysecrets.co.il">קרא עוד</a>
</div>
</div>
</div>
</div>

CSS

.fill
{
     display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}
h2
{
  font-family: arial;
}
.elements-promo {
    margin-bottom: 52px;
    margin-top: 60px;
    background-color: #f93d66;
    background: linear-gradient(145deg, #4772d9, #5be0e0);
    border-radius: 4px
}

.elements-promo__wrapper {
    padding: 20px;
    background-color: #fff
}

@media (min-width:960px) {
    .elements-promo__wrapper {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between
    }
}

@media (max-width:639px) {
    .elements-promo__wrapper {
        text-align: center
    }
}

.elements-promo__copy-wrapper {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    margin: 16px 0px;
    background-position: 100% bottom;
    background-repeat: no-repeat;
}

@media (min-width:660px) {
    .elements-promo__copy-wrapper {
        background-image: url("//public-assets.envato-static.com/assets/cross-promos/girl-with-headphones-f811be66c897e4e8d9243e07b77c3745eef05c9ab0862c903d1a88e794ce74c6.png")
    }
}
.elements-promo .elements-heading {
    color: #fff
}

.elements-promo__button-wrapper {
    padding-top: -15px;
        margin-top: -15px;

    @media (min-width: 960px) {
        -ms-flex:0 0 25%;
        flex: 0 0 25%;
        text-align: center
    }
}

.elements-promo__button {
    background-color: #f93d66;
    font-family: arial;
    padding: 5px 16px;
    color: #fff;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    &:focus,
    &:hover {
        background-color: darken(#f93d66, 20%)
    }
}

.elements-promo__logo {
    display: inline-block;
    text-indent: -9999px;
    height: 26px;
    width: 170px;
  ...