Bootstrap - why is my button not responsive?

Viewed 1915

As you can see on the screenshot below, my pink button is not fully responsive: below a certain width it gets cut instead of resizing to remain within the viewport width. What is the issue? Many thanks

enter image description here

.btn {
    background-color: #ff00bf;
    border: 0 none;
    border-radius: 25px;
    box-shadow: 0 11px 22px rgba(34, 34, 34, 0.2);
    color: #fff;
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 0.025em;
    padding: 1.1em 2.28em 1em;
    text-decoration: none;
    transition: all 0.3s ease-out 0s;
}
.btn {
    -moz-user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
}
1 Answers
Related