L
L
lexstile2017-05-26 21:34:26
css
lexstile, 2017-05-26 21:34:26

How to convert button styles to css?

There is img:
316a7290244342b18688cabc3413cd5f.png
You need to register all styles through css.
Difficulties arose with the definition of the font, I will be grateful if someone tells me.
And also with its slight depressed tint along the contour (whitish color), no matter how much text-shadow tormented, it did not come to a result.
The rest of the difficulties did not bring.
Thanks in advance.
So far like this:
4fe5d7e0ce5f433182ea177da70acd08.png

.send_button{
    width: 272px;
    height: 83px;
    border: 7px solid #f2f2f2;
    box-sizing: border-box;
    display: block;
    font-family: "PT Sans";
    margin: 0 auto;
    border-radius: 100px;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
  background: rgba(255,231,45,1);
  background: -moz-linear-gradient(top, rgba(255,231,45,1) 0%, rgba(255,231,45,1) 0%, rgba(255,214,34,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,231,45,1)), color-stop(0%, rgba(255,231,45,1)), color-stop(100%, rgba(255,214,34,1)));
  background: -webkit-linear-gradient(top, rgba(255,231,45,1) 0%, rgba(255,231,45,1) 0%, rgba(255,214,34,1) 100%);
  background: -o-linear-gradient(top, rgba(255,231,45,1) 0%, rgba(255,231,45,1) 0%, rgba(255,214,34,1) 100%);
  background: -ms-linear-gradient(top, rgba(255,231,45,1) 0%, rgba(255,231,45,1) 0%, rgba(255,214,34,1) 100%);
  background: linear-gradient(to bottom, rgba(255,231,45,1) 0%, rgba(255,231,45,1) 0%, rgba(255,214,34,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffe72d', endColorstr='#ffd622', GradientType=0 );
  -webkit-box-shadow: inset 0px -2px 0px 1px rgba(0,0,0,0.2);
  -moz-box-shadow: inset 0px -2px 0px 1px rgba(0,0,0,0.2);
  box-shadow: inset 0px -2px 0px 1px rgba(0,0,0,0.2);
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Q
qpPeW, 2017-05-26
@lexstile

https://jsfiddle.net/dd01gzah/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question