I
I
it_pear_yurec2018-01-27 17:38:33
css
it_pear_yurec, 2018-01-27 17:38:33

I set a border gradient and the border-radius property stopped working, what is the reason?

<form action="">
        <input class="background-form__input_1" type="name">
        <input class="background-form__input_2" type="telephone">
  </form>

input{
        width: 235px;
        padding: 10px 0px 10px 0px;
        background-color: rgba(0,0,0,0);
        margin-top: 35px;
        border: 1px solid transparent;
        -webkit-border-image: -webkit-linear-gradient(271deg, #b5b748, #6ac248);
        -o-border-image: -o-linear-gradient(271deg, #b5b748, #6ac248);
        border-image-source: linear-gradient(1deg, #b5b748, #6ac248);
        border-image-slice: 1 ;
        border-radius: 50%;
        &:focus {
            outline: 0;
            outline-offset: 0;
        }
    }
    input.background-form__input_2{
        float: right;
    }

5a6c8ee6da9f9178676561.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question